Skip to content

Console Output

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-8943-b7f7q-wczb4-rkqq2
Still waiting to schedule task
โ€˜pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2โ€™ is offline
Agent pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2 is provisioned from template pingcap_tidb_ghpr_unit_test_8943-b7f7q-wczb4
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8943/"
    runUrl: "job/pingcap/job/tidb/job/ghpr_unit_test/8943/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "6e1d6f8c8daba08a425f8858f4bd4beebaffbf8d"
    jenkins/label: "pingcap_tidb_ghpr_unit_test_8943-b7f7q"
  name: "pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2"
  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-8943-b7f7q-wczb4-rkqq2"
    - name: "JENKINS_NAME"
      value: "pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2"
    - 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-8943-b7f7q-wczb4-rkqq2 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=127bc4b4-8236-4ef1-bd1c-49c02565288f
JENKINS_NODE_COOKIE=b9924b80-84f6-481e-8313-ff611d9cdda3
BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8943/
GOLANG_VERSION=1.21.0
HOSTNAME=pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2
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-8943
KUBERNETES_SERVICE_PORT=443
GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009
JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_unit_test","buildid":"1787413792481611776","prowjobid":"127bc4b4-8236-4ef1-bd1c-49c02565288f","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"master","base_sha":"17d3f7fd4599c86fed367db1051156abc0b3cd5b","base_link":"https://github.com/pingcap/tidb/commit/17d3f7fd4599c86fed367db1051156abc0b3cd5b","pulls":[{"number":52971,"author":"Defined2014","sha":"22580890a6e5833593773cc0764f108be1ffcdca","title":"*: global index support `index_merge` and `mem_index_merge`","link":"https://github.com/pingcap/tidb/pull/52971","commit_link":"https://github.com/pingcap/tidb/pull/52971/commits/22580890a6e5833593773cc0764f108be1ffcdca","author_link":"https://github.com/Defined2014"}]}}
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/8943/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8943/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/8943/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=#8943
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787413792481611776
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/8943/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=pingcap_tidb_ghpr_unit_test_8943-b7f7q
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_8943-b7f7q pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2
GIT_URL=https://github.com/PingCAP-QE/ci.git
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/display/redirect
BUILD_NUMBER=8943
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-build864268213=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ ls -l /dev/null
crw-rw-rw-. 1 jenkins root 1, 3 May  6 17:31 /dev/null
+ echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2 bash'
debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8943-b7f7q-wczb4-rkqq2 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: 25850
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 9ec0ca06fd300292 (echoed)
;; QUESTION SECTION:
;github.com.			IN	A

;; ANSWER SECTION:
github.com.		27	IN	A	20.205.243.166

;; Query time: 1 msec
;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP)
;; WHEN: Mon May 06 09:31:45 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-17d3f7f-2258089)
460949504 bytes in 1.66 secs (276896939 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 5d21884224 Merge commit '22580890a6e5833593773cc0764f108be1ffcdca' into HEAD
POST git-upload-pack (656 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            master               -> origin/master
 = [up to date]            refs/pull/52971/head -> origin/pr/52971/head
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  5d21884224 Merge commit '22580890a6e5833593773cc0764f108be1ffcdca' into HEAD

If you want to keep it by creating a new branch, this may be a good time
to do so with:

 git branch <new-branch-name> 5d21884224

HEAD is now at 17d3f7fd45 planner: small refactor for plan cache (#53028)
๐Ÿšง Checkouting to base SHA:17d3f7fd4599c86fed367db1051156abc0b3cd5b...
HEAD is now at 17d3f7fd45 planner: small refactor for plan cache (#53028)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
17d3f7fd4599c86fed367db1051156abc0b3cd5b
17d3f7fd45 planner: small refactor for plan cache (#53028)
659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
๐Ÿšง Pre-merge heads of pull requests to base SHA: 17d3f7fd4599c86fed367db1051156abc0b3cd5b ...
Merge made by the 'ort' strategy.
 pkg/executor/builder.go                            |  16 ++
 pkg/executor/index_merge_reader.go                 |  61 +++---
 pkg/executor/mem_reader.go                         | 181 ++++++++----------
 pkg/kv/key.go                                      |   4 +-
 pkg/planner/core/find_best_task.go                 |  22 ++-
 pkg/planner/core/indexmerge_path.go                |  29 +--
 .../r/executor/partition/global_index.result       |   7 +-
 .../r/globalindex/mem_index_merge.result           | 207 +++++++++++++++++++++
 .../t/globalindex/mem_index_merge.test             | 109 +++++++++++
 9 files changed, 473 insertions(+), 163 deletions(-)
 create mode 100644 tests/integrationtest/r/globalindex/mem_index_merge.result
 create mode 100644 tests/integrationtest/t/globalindex/mem_index_merge.test
๐Ÿงพ Pre-merged result:
3d3f55b91725c6cdbde21d6b866b1a5dbd695462
3d3f55b917 Merge commit '22580890a6e5833593773cc0764f108be1ffcdca' into HEAD
17d3f7fd45 planner: small refactor for plan cache (#53028)
22580890a6 code clean
โœ… Pre merged ๐ŸŽ‰
๐Ÿ“ update submodules ...
โœ… update submodules done
โœ… ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // script
[Pipeline] }
Cache not saved (git/pingcap/tidb/rev-17d3f7f-2258089 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 <file>..." to update what will be committed)
  (use "git restore <file>..." 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: 36c148f2-aef8-44e9-bf06-b8979fca16a2
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_09_31_36.3631676511/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 (216 packages loaded, 11421 targets configured)
INFO: Analyzed target //:gazelle (270 packages loaded, 11965 targets configured).
INFO: Found 1 target...
[0 / 314] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (4 actions, 3 running)
[24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/io/fs.a; 1s remote-cache ... (3 actions, 0 running)
[24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 5.0 MiB / 10.7 MiB; 2s remote-cache ... (3 actions, 0 running)
[176 / 316] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; Downloading external/org_golang_x_tools/go/ssa/ssa.a, 2.0 MiB / 4.0 MiB; 0s remote-cache ... (8 actions, 0 running)
Target //:gazelle up-to-date:
  bazel-bin/gazelle-runner.bash
  bazel-bin/gazelle
INFO: Elapsed time: 25.052s, Critical Path: 4.12s
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: b6ce164e-ae88-4113-be72-ed4f8c566355
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_09_31_36.3631676511/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 (127 packages loaded, 12954 targets configured)
INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14292 targets configured).
INFO: Found 1 target...
[0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[273 / 607] [Prepa] GoCompilePkg external/com_github_kr_text/text.a ... (13 actions, 0 running)
[573 / 607] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; Downloading external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a, 7.9 MiB / 9.7 MiB; 0s remote-cache ... (2 actions, 0 running)
Target //tools/tazel:tazel up-to-date:
  bazel-bin/tools/tazel/tazel_/tazel
INFO: Elapsed time: 4.894s, Critical Path: 2.79s
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: 68bd579b-0b4e-49de-9817-aea723960cb7
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_09_31_36.3631676511/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 (1162 packages loaded, 15908 targets configured)
Analyzing: 411 targets (1477 packages loaded, 20936 targets configured)
Analyzing: 411 targets (1659 packages loaded, 23550 targets configured)
Analyzing: 411 targets (1811 packages loaded, 24770 targets configured)
Analyzing: 411 targets (1917 packages loaded, 25541 targets configured)
Analyzing: 411 targets (1917 packages loaded, 25541 targets configured)
Analyzing: 411 targets (1981 packages loaded, 26890 targets configured)
INFO: Analyzed 411 targets (1981 packages loaded, 26989 targets configured).
INFO: Found 411 test targets...
[0 / 57] [Prepa] Writing file br/pkg/backup/backup_test/baseline_coverage.dat ... (7 actions, 0 running)
[1,447 / 9,763] [Prepa] GoStdlib external/io_bazel_rules_go/stdlib_/pkg ... (35 actions, 4 running)
[1,557 / 9,763] GoTestGenTest pkg/executor/executor_test_/testmain.go; 1s remote-cache, linux-sandbox ... (38 actions, 6 running)
[1,582 / 9,763] GoTestGenTest pkg/kv/kv_test_/testmain.go; 2s remote-cache, linux-sandbox ... (37 actions, 4 running)
[1,621 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 17.2 MiB; 2s remote-cache ... (35 actions, 0 running)
[1,736 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (24 actions, 0 running)
[2,347 / 9,770] GoCompilePkg external/com_github_prometheus_procfs/procfs.a; 0s remote-cache ... (33 actions, 0 running)
[2,952 / 9,782] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 15.0 MiB / 96.2 MiB; 0s remote-cache ... (35 actions, 0 running)
[3,323 / 9,855] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 75.9 MiB / 96.2 MiB; 1s remote-cache ... (35 actions, 0 running)
[3,573 / 9,926] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 34.0 MiB / 69.8 MiB; 0s remote-cache ... (35 actions, 0 running)
[3,790 / 9,978] 18 / 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, 61.0 MiB / 69.8 MiB; 1s remote-cache ... (33 actions, 1 running)
[4,210 / 10,000] 70 / 411 tests; GoCompilePkg pkg/parser/ast/ast.a; Downloading pkg/parser/ast/ast.a, 5.0 MiB / 8.1 MiB; 0s remote-cache ... (35 actions, 0 running)
[4,538 / 10,058] 73 / 411 tests; GoLink pkg/parser/parser_test_/parser_test; Downloading pkg/parser/parser_test_/parser_test, 9.4 MiB / 17.5 MiB; 0s remote-cache ... (35 actions, 0 running)
[4,822 / 10,115] 75 / 411 tests; GoLink pkg/util/engine/engine_test_/engine_test; Downloading pkg/util/engine/engine_test_/engine_test, 5.3 MiB / 19.0 MiB; 0s remote-cache ... (35 actions, 0 running)
[5,072 / 10,119] 79 / 411 tests; GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 16.0 MiB / 24.4 MiB; 0s remote-cache ... (19 actions, 0 running)
[5,192 / 10,133] 80 / 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, 34.0 MiB / 75.3 MiB; 1s remote-cache ... (34 actions, 0 running)
[5,362 / 10,135] 81 / 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, 59.0 MiB / 75.3 MiB; 2s remote-cache ... (31 actions, 0 running)
[5,415 / 10,173] 82 / 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, 73.0 MiB / 75.3 MiB; 3s remote-cache ... (35 actions, 0 running)
[5,460 / 10,184] 84 / 411 tests; GoLink pkg/util/printer/printer_test_/printer_test; Downloading pkg/util/printer/printer_test_/printer_test, 21.0 MiB / 23.8 MiB; 2s remote-cache ... (36 actions, 2 running)
[5,534 / 10,190] 91 / 411 tests; GoLink pkg/util/set/set_test_/set_test; 2s remote-cache ... (27 actions, 8 running)
[5,567 / 10,196] 96 / 411 tests; GoLink pkg/types/types_test_/types_test; Downloading pkg/types/types_test_/types_test, 28.0 MiB / 29.2 MiB; 2s remote-cache ... (41 actions, 15 running)
[5,590 / 10,249] 96 / 411 tests; GoLink br/pkg/restore/ingestrec/ingestrec_test_/ingestrec_test; Downloading br/pkg/restore/ingestrec/ingestrec_test_/ingestrec_test, 25.0 MiB / 27.8 MiB; 2s remote-cache ... (49 actions, 30 running)
[5,642 / 10,275] 98 / 411 tests; GoLink pkg/util/parser/parser_test_/parser_test; Downloading pkg/util/parser/parser_test_/parser_test, 33.0 MiB / 37.3 MiB; 3s remote-cache ... (50 actions, 30 running)
[5,715 / 10,284] 107 / 411 tests; Testing //pkg/types:types_test (shard 38 of 50); Downloading pkg/types/types_test/shard_38_of_50/coverage.dat, 2.9 MiB / 5.9 MiB; 0s remote-cache ... (36 actions, 5 running)
[5,815 / 10,284] 109 / 411 tests; GoLink pkg/store/driver/error/error_test_/error_test; 0s remote-cache, linux-sandbox ... (37 actions, 34 running)
[5,858 / 10,338] 111 / 411 tests; GoLink pkg/store/driver/error/error_test_/error_test; 1s remote-cache, linux-sandbox ... (47 actions, 24 running)
[5,897 / 10,340] 112 / 411 tests; GoLink br/pkg/logutil/logutil_test_/logutil_test; 2s remote-cache, linux-sandbox ... (67 actions, 66 running)
[5,936 / 10,354] 112 / 411 tests; GoLink pkg/kv/kv_test_/kv_test; 1s remote-cache, linux-sandbox ... (69 actions, 68 running)
[5,956 / 10,354] 114 / 411 tests; GoLink pkg/kv/kv_test_/kv_test; 2s remote-cache, linux-sandbox ... (70 actions running)
[5,956 / 10,354] 114 / 411 tests; GoLink pkg/kv/kv_test_/kv_test; 3s remote-cache, linux-sandbox ... (70 actions running)
[5,994 / 10,389] 115 / 411 tests; GoLink pkg/tablecodec/tablecodec_test_/tablecodec_test; 3s remote-cache, linux-sandbox ... (70 actions running)
[6,037 / 10,415] 115 / 411 tests; GoLink pkg/util/stmtsummary/v2/stmtsummary_test_/stmtsummary_test; 1s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,076 / 10,415] 117 / 411 tests; GoLink pkg/util/stmtsummary/v2/stmtsummary_test_/stmtsummary_test; 3s remote-cache, linux-sandbox ... (70 actions running)
[6,102 / 10,429] 117 / 411 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; 2s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,139 / 10,467] 117 / 411 tests; GoLink pkg/util/generatedexpr/generatedexpr_test_/generatedexpr_test; 1s remote-cache, linux-sandbox ... (70 actions running)
[6,163 / 10,467] 118 / 411 tests; GoLink pkg/util/generatedexpr/generatedexpr_test_/generatedexpr_test; 2s remote-cache, linux-sandbox ... (70 actions running)
[6,188 / 10,473] 120 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 3s remote-cache, linux-sandbox ... (70 actions running)
[6,205 / 10,510] 120 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 4s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,221 / 10,512] 123 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 5s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,238 / 10,518] 124 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 6s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,254 / 10,527] 124 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 7s remote-cache, linux-sandbox ... (69 actions running)
[6,255 / 10,527] 124 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 9s remote-cache, linux-sandbox ... (70 actions running)
[6,274 / 10,527] 125 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 10s remote-cache, linux-sandbox ... (70 actions running)
[6,282 / 10,527] 126 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 11s remote-cache, linux-sandbox ... (70 actions running)
[6,282 / 10,527] 126 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 12s remote-cache, linux-sandbox ... (70 actions running)
[6,309 / 10,527] 127 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 13s remote-cache, linux-sandbox ... (70 actions running)
[6,316 / 10,527] 127 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 14s remote-cache, linux-sandbox ... (70 actions running)
[6,338 / 10,527] 127 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 15s remote-cache, linux-sandbox ... (69 actions running)
[6,348 / 10,527] 127 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 16s remote-cache, linux-sandbox ... (70 actions running)
[6,359 / 10,527] 128 / 411 tests; GoCompilePkg pkg/structure/expression.recompile1098.a; 17s remote-cache, linux-sandbox ... (70 actions running)
[6,369 / 10,527] 128 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 17s remote-cache, linux-sandbox ... (70 actions running)
[6,389 / 10,533] 129 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,403 / 10,533] 130 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[6,406 / 10,533] 130 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 20s remote-cache, linux-sandbox ... (69 actions running)
[6,431 / 10,533] 130 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/expression.recompile1098.a; 19s remote-cache, linux-sandbox ... (67 actions, 66 running)
[6,453 / 10,533] 130 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 19s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,467 / 10,533] 130 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 21s remote-cache, linux-sandbox ... (70 actions running)
[6,472 / 10,533] 131 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 22s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,499 / 10,533] 131 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 24s remote-cache, linux-sandbox ... (70 actions running)
[6,507 / 10,533] 131 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 25s remote-cache, linux-sandbox ... (70 actions running)
[6,529 / 10,533] 132 / 411 tests; GoCompilePkg pkg/meta/expression.recompile557.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,547 / 10,535] 133 / 411 tests; GoCompilePkg pkg/meta/expression.recompile557.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,574 / 10,535] 133 / 411 tests; GoCompilePkg pkg/meta/expression.recompile557.a; 18s remote-cache, linux-sandbox ... (68 actions, 66 running)
[6,593 / 10,535] 133 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 16s remote-cache, linux-sandbox ... (67 actions, 66 running)
[6,607 / 10,535] 134 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,639 / 10,561] 134 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,653 / 10,561] 134 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 18s remote-cache, linux-sandbox ... (70 actions running)
[6,678 / 10,561] 135 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[6,678 / 10,561] 135 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 20s remote-cache, linux-sandbox ... (70 actions running)
[6,703 / 10,561] 135 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 21s remote-cache, linux-sandbox ... (70 actions running)
[6,734 / 10,565] 135 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,747 / 10,565] 135 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,767 / 10,567] 138 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,776 / 10,569] 138 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,790 / 10,569] 138 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,811 / 10,584] 139 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,842 / 10,586] 140 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,850 / 10,586] 140 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 30s remote-cache, linux-sandbox ... (70 actions running)
[6,873 / 10,637] 143 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 31s remote-cache, linux-sandbox ... (67 actions, 66 running)
[6,883 / 10,637] 144 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 32s remote-cache, linux-sandbox ... (70 actions running)
[6,884 / 10,637] 144 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,911 / 10,637] 145 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[6,934 / 10,675] 145 / 411 tests; GoCompilePkg pkg/expression/expression.a; 19s remote-cache, linux-sandbox ... (67 actions, 66 running)
[6,957 / 10,675] 145 / 411 tests; GoCompilePkg pkg/expression/expression.a; 20s remote-cache, linux-sandbox ... (69 actions running)
[6,974 / 10,675] 145 / 411 tests; GoCompilePkg pkg/expression/expression.a; 21s remote-cache, linux-sandbox ... (66 actions, 64 running)
[6,994 / 10,684] 146 / 411 tests; GoCompilePkg pkg/expression/expression.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,012 / 10,684] 146 / 411 tests; GoCompilePkg pkg/expression/expression.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,027 / 10,684] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 25s remote-cache, linux-sandbox ... (66 actions, 62 running)
[7,055 / 10,707] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,080 / 10,714] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,101 / 10,716] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[7,112 / 10,716] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 29s remote-cache, linux-sandbox ... (70 actions running)
[7,135 / 10,740] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,136 / 10,740] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,142 / 10,746] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,167 / 10,746] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 15s remote-cache, linux-sandbox ... (67 actions, 66 running)
[7,170 / 10,746] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 16s remote-cache, linux-sandbox ... (68 actions, 66 running)
[7,192 / 10,746] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,213 / 10,746] 150 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,219 / 10,746] 151 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 13s remote-cache, linux-sandbox ... (70 actions running)
[7,250 / 10,746] 152 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,275 / 10,748] 152 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 15s remote-cache, linux-sandbox ... (70 actions running)
[7,290 / 10,748] 153 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 16s remote-cache, linux-sandbox ... (70 actions running)
[7,313 / 10,748] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 17s remote-cache, linux-sandbox ... (70 actions running)
[7,330 / 10,748] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,350 / 10,748] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 19s remote-cache, linux-sandbox ... (67 actions, 66 running)
[7,354 / 10,748] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,356 / 10,748] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 22s remote-cache, linux-sandbox ... (70 actions running)
[7,400 / 10,766] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 23s remote-cache, linux-sandbox ... (70 actions running)
[7,418 / 10,766] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,444 / 10,766] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,457 / 10,766] 157 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[7,457 / 10,766] 157 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[7,489 / 10,800] 158 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 29s remote-cache, linux-sandbox ... (68 actions, 66 running)
[7,503 / 10,832] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 30s remote-cache, linux-sandbox ... (70 actions running)
[7,517 / 10,832] 161 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,522 / 10,832] 161 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,535 / 10,834] 162 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 34s remote-cache, linux-sandbox ... (70 actions running)
[7,535 / 10,834] 162 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 35s remote-cache, linux-sandbox ... (70 actions running)
[7,560 / 10,888] 163 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 36s remote-cache, linux-sandbox ... (67 actions, 66 running)
[7,573 / 10,888] 163 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 37s remote-cache, linux-sandbox ... (69 actions running)
[7,585 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 38s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,598 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 39s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,624 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 41s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,635 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 42s remote-cache, linux-sandbox ... (68 actions, 67 running)
[7,649 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 43s remote-cache, linux-sandbox ... (70 actions running)
[7,664 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,676 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 45s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,697 / 10,903] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 46s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,707 / 10,909] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 48s remote-cache, linux-sandbox ... (70 actions running)
[7,728 / 10,919] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 49s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,745 / 10,919] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 51s remote-cache, linux-sandbox ... (70 actions running)
[7,764 / 10,919] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 52s remote-cache, linux-sandbox ... (70 actions running)
[7,765 / 10,919] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 53s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,784 / 10,919] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 55s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,793 / 10,919] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,813 / 10,919] 167 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 57s remote-cache, linux-sandbox ... (70 actions running)
[7,828 / 10,919] 167 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 58s remote-cache, linux-sandbox ... (70 actions running)
[7,839 / 10,919] 167 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,849 / 10,919] 167 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,877 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,887 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,889 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 64s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,897 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 65s remote-cache, linux-sandbox ... (70 actions running)
[7,898 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 66s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,919 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,923 / 10,923] 168 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 68s remote-cache, linux-sandbox ... (69 actions running)
[7,944 / 10,923] 169 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 69s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,954 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,957 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 35s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,971 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 36s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,984 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 37s remote-cache, linux-sandbox ... (69 actions, 68 running)
[7,989 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 38s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,007 / 10,923] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 39s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,014 / 10,923] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 40s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,018 / 10,923] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 41s remote-cache, linux-sandbox ... (70 actions running)
[8,040 / 10,923] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 42s remote-cache, linux-sandbox ... (70 actions running)
[8,050 / 10,923] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 43s remote-cache, linux-sandbox ... (70 actions running)
[8,062 / 10,923] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,077 / 10,928] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 45s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,099 / 10,928] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 47s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,112 / 10,928] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,129 / 10,928] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 35s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,145 / 10,933] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 36s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,157 / 10,933] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 37s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,168 / 10,962] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 39s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,170 / 10,962] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 40s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,180 / 10,962] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 41s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,183 / 10,962] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 42s remote-cache, linux-sandbox ... (70 actions running)
[8,201 / 10,962] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 43s remote-cache, linux-sandbox ... (70 actions running)
[8,212 / 10,970] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 44s remote-cache, linux-sandbox ... (70 actions running)
[8,222 / 10,994] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 45s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,237 / 10,994] 173 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 46s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,250 / 10,994] 174 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 47s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,260 / 11,000] 174 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,270 / 11,007] 174 / 411 tests; Testing //pkg/statistics/handle/cache/internal/lfu:lfu_test (shard 7 of 9); 35s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,280 / 11,007] 175 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,295 / 11,023] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,310 / 11,023] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,325 / 11,025] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 35s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,337 / 11,025] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 36s remote-cache, linux-sandbox ... (70 actions running)
[8,352 / 11,025] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 37s remote-cache, linux-sandbox ... (70 actions running)
[8,368 / 11,025] 177 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 38s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,381 / 11,025] 177 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 39s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,382 / 11,025] 177 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 41s remote-cache, linux-sandbox ... (70 actions running)
[8,411 / 11,025] 179 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 42s remote-cache, linux-sandbox ... (70 actions running)
[8,425 / 11,038] 179 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 43s remote-cache, linux-sandbox ... (70 actions running)
[8,445 / 11,038] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 44s remote-cache, linux-sandbox ... (66 actions, 64 running)
[8,455 / 11,038] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 45s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,466 / 11,038] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 46s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,483 / 11,038] 181 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 47s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,498 / 11,038] 181 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,516 / 11,038] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 49s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,526 / 11,038] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 50s remote-cache, linux-sandbox ... (68 actions, 67 running)
[8,531 / 11,038] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 51s remote-cache, linux-sandbox ... (69 actions running)
[8,557 / 11,040] 183 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 52s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,563 / 11,040] 183 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 53s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,573 / 11,040] 183 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 55s remote-cache, linux-sandbox ... (67 actions, 66 running)
[8,597 / 11,040] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,608 / 11,040] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,613 / 11,040] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 58s remote-cache, linux-sandbox ... (70 actions running)
[8,632 / 11,040] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,640 / 11,040] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,652 / 11,068] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,655 / 11,068] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,670 / 11,068] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 64s remote-cache, linux-sandbox ... (70 actions running)
[8,690 / 11,070] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 65s remote-cache, linux-sandbox ... (70 actions running)
[8,697 / 11,121] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 66s remote-cache, linux-sandbox ... (70 actions running)
[8,706 / 11,121] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 67s remote-cache, linux-sandbox ... (70 actions running)
[8,727 / 11,123] 186 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 11s remote-cache, linux-sandbox ... (67 actions, 66 running)
[8,737 / 11,123] 186 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,753 / 11,123] 189 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,758 / 11,123] 190 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,760 / 11,123] 190 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 15s remote-cache, linux-sandbox ... (67 actions, 66 running)
[8,768 / 11,123] 190 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 16s remote-cache, linux-sandbox ... (67 actions, 66 running)
[8,791 / 11,131] 191 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 17s remote-cache, linux-sandbox ... (69 actions running)
[8,793 / 11,131] 191 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[8,817 / 11,133] 192 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 18s remote-cache, linux-sandbox ... (70 actions running)
[8,828 / 11,151] 192 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,829 / 11,151] 192 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,852 / 11,151] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 22s remote-cache, linux-sandbox ... (70 actions running)
[8,868 / 11,151] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 23s remote-cache, linux-sandbox ... (70 actions running)
[8,880 / 11,151] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,887 / 11,151] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,898 / 11,151] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[8,914 / 11,153] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[8,916 / 11,153] 193 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,939 / 11,157] 195 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 19s remote-cache, linux-sandbox ... (70 actions running)
[8,939 / 11,157] 195 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 20s remote-cache, linux-sandbox ... (70 actions running)
[8,940 / 11,157] 195 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 22s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,964 / 11,171] 195 / 411 tests; GoLink pkg/structure/structure_test_/structure_test; 10s remote-cache, linux-sandbox ... (69 actions, 68 running)
[8,965 / 11,171] 195 / 411 tests; GoLink pkg/structure/structure_test_/structure_test; 12s remote-cache, linux-sandbox ... (70 actions running)
[8,972 / 11,171] 195 / 411 tests; GoLink pkg/structure/structure_test_/structure_test; 13s remote-cache, linux-sandbox ... (70 actions running)
[8,994 / 11,227] 195 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,009 / 11,227] 196 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,014 / 11,227] 196 / 411 tests; GoCompilePkg pkg/extension/executor.recompile1285.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,032 / 11,227] 196 / 411 tests; GoCompilePkg pkg/extension/executor.recompile1285.a; 11s remote-cache, linux-sandbox ... (69 actions running)
[9,037 / 11,227] 196 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 47 of 50); 9s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,047 / 11,227] 196 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 47 of 50); 10s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,056 / 11,247] 196 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 47 of 50); 11s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,067 / 11,247] 196 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 47 of 50); 12s remote-cache, linux-sandbox ... (70 actions running)
[9,074 / 11,247] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 9s remote-cache, linux-sandbox ... (70 actions running)
[9,086 / 11,296] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 10s remote-cache, linux-sandbox ... (70 actions running)
[9,094 / 11,296] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 11s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,102 / 11,296] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 13s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,110 / 11,296] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 14s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,124 / 11,307] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 15s remote-cache, linux-sandbox ... (67 actions, 64 running)
[9,126 / 11,307] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 16s remote-cache, linux-sandbox ... (70 actions running)
[9,140 / 11,358] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 17s remote-cache, linux-sandbox ... (70 actions running)
[9,148 / 11,358] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 18s remote-cache, linux-sandbox ... (69 actions running)
[9,158 / 11,358] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 19s remote-cache, linux-sandbox ... (70 actions running)
[9,161 / 11,358] 196 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 20s remote-cache, linux-sandbox ... (70 actions running)
[9,170 / 11,358] 197 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 21s remote-cache, linux-sandbox ... (70 actions running)
[9,183 / 11,358] 198 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 22s remote-cache, linux-sandbox ... (70 actions running)
[9,192 / 11,358] 199 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 23s remote-cache, linux-sandbox ... (70 actions running)
[9,202 / 11,358] 200 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 18s remote-cache, linux-sandbox ... (70 actions running)
[9,203 / 11,358] 200 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[9,228 / 11,358] 201 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,234 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 10s remote-cache, linux-sandbox ... (70 actions running)
[9,238 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,250 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,267 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 14s remote-cache, linux-sandbox ... (70 actions running)
[9,278 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 15s remote-cache, linux-sandbox ... (70 actions running)
[9,290 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 16s remote-cache, linux-sandbox ... (70 actions running)
[9,291 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 17s remote-cache, linux-sandbox ... (69 actions running)
[9,303 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,325 / 11,358] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 20s remote-cache, linux-sandbox ... (67 actions, 66 running)
[9,341 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,354 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,360 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 23s remote-cache, linux-sandbox ... (69 actions running)
[9,371 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 24s remote-cache, linux-sandbox ... (70 actions running)
[9,379 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,385 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 26s remote-cache, linux-sandbox ... (70 actions running)
[9,392 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,404 / 11,368] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 28s remote-cache, linux-sandbox ... (69 actions running)
[9,414 / 11,370] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,427 / 11,370] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,431 / 11,370] 202 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,442 / 11,386] 203 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,447 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,451 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,457 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 20s remote-cache, linux-sandbox ... (70 actions running)
[9,457 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 21s remote-cache, linux-sandbox ... (70 actions running)
[9,457 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 22s remote-cache, linux-sandbox ... (70 actions running)
[9,472 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,486 / 11,386] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 25s remote-cache, linux-sandbox ... (68 actions, 67 running)
[9,496 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 26s remote-cache, linux-sandbox ... (68 actions, 66 running)
[9,513 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,518 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[9,518 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 29s remote-cache, linux-sandbox ... (70 actions running)
[9,529 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 30s remote-cache, linux-sandbox ... (68 actions, 67 running)
[9,529 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 32s remote-cache, linux-sandbox ... (70 actions running)
[9,535 / 11,424] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 33s remote-cache, linux-sandbox ... (70 actions running)
[9,559 / 11,424] 204 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,572 / 11,428] 204 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,580 / 11,428] 204 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 32s remote-cache, linux-sandbox ... (70 actions running)
[9,608 / 11,428] 205 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 33s remote-cache, linux-sandbox ... (67 actions, 66 running)
[9,614 / 11,428] 205 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,625 / 11,428] 206 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,637 / 11,428] 206 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,643 / 11,428] 206 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,651 / 11,428] 206 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 32s remote-cache, linux-sandbox ... (68 actions, 66 running)
[9,654 / 11,428] 206 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 34s remote-cache, linux-sandbox ... (70 actions running)
[9,669 / 11,428] 207 / 411 tests; GoCompilePkg pkg/planner/core/core.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,670 / 11,428] 207 / 411 tests; GoCompilePkg pkg/planner/core/core.a; 35s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,690 / 11,502] 207 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,699 / 11,507] 207 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,711 / 11,507] 208 / 411 tests; GoCompilePkg pkg/lightning/common/core.recompile1118.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,721 / 11,507] 209 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,728 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,738 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,747 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 17s remote-cache, linux-sandbox ... (69 actions running)
[9,754 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 18s remote-cache, linux-sandbox ... (69 actions running)
[9,758 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[9,758 / 11,507] 210 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 21s remote-cache, linux-sandbox ... (70 actions running)
[9,768 / 11,507] 212 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/executor.recompile1256.a; 22s remote-cache, linux-sandbox ... (67 actions, 64 running)
[9,788 / 11,528] 212 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,795 / 11,595] 212 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,810 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 17s remote-cache, linux-sandbox ... (70 actions running)
[9,816 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 18s remote-cache, linux-sandbox ... (70 actions running)
[9,823 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[9,829 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 20s remote-cache, linux-sandbox ... (70 actions running)
[9,836 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,841 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,851 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 23s remote-cache, linux-sandbox ... (69 actions running)
[9,861 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,863 / 11,657] 212 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 26s remote-cache, linux-sandbox ... (70 actions running)
[9,883 / 11,657] 213 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[9,884 / 11,657] 213 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[9,886 / 11,657] 213 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,894 / 11,657] 213 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 30s remote-cache, linux-sandbox ... (68 actions, 67 running)
[9,900 / 11,657] 213 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,913 / 11,657] 213 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 22s remote-cache, linux-sandbox ... (69 actions running)
[9,921 / 11,657] 213 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,926 / 11,657] 213 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[9,945 / 11,657] 214 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 26s remote-cache, linux-sandbox ... (67 actions, 65 running)
[9,948 / 11,657] 214 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[9,954 / 11,657] 214 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[9,961 / 11,657] 214 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 29s remote-cache, linux-sandbox ... (67 actions, 64 running)
[9,976 / 11,657] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 26s remote-cache, linux-sandbox ... (70 actions running)
[9,979 / 11,657] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[9,988 / 11,657] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 28s remote-cache, linux-sandbox ... (66 actions, 62 running)
[9,997 / 11,657] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 29s remote-cache, linux-sandbox ... (67 actions, 66 running)
[10,006 / 11,667] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 30s remote-cache, linux-sandbox ... (70 actions running)
[10,008 / 11,667] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 31s remote-cache, linux-sandbox ... (70 actions running)
[10,016 / 11,667] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 32s remote-cache, linux-sandbox ... (69 actions running)
[10,026 / 11,667] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,032 / 11,667] 214 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,047 / 11,669] 214 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,053 / 11,669] 214 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 32s remote-cache, linux-sandbox ... (69 actions running)
[10,061 / 11,669] 214 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,061 / 11,669] 214 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 35s remote-cache, linux-sandbox ... (70 actions running)
[10,062 / 11,669] 214 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[10,083 / 11,669] 215 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,086 / 11,669] 215 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 29s remote-cache, linux-sandbox ... (70 actions running)
[10,093 / 11,669] 216 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 31s remote-cache, linux-sandbox ... (70 actions running)
[10,116 / 11,669] 217 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 32s remote-cache, linux-sandbox ... (70 actions running)
[10,117 / 11,669] 217 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 24s remote-cache, linux-sandbox ... (70 actions running)
[10,130 / 11,669] 217 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 25s remote-cache, linux-sandbox ... (70 actions running)
[10,135 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 26s remote-cache, linux-sandbox ... (68 actions, 66 running)
[10,149 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,152 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,155 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,159 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 31s remote-cache, linux-sandbox ... (70 actions running)
[10,161 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 32s remote-cache, linux-sandbox ... (70 actions running)
[10,172 / 11,669] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 33s remote-cache, linux-sandbox ... (65 actions, 62 running)
[10,183 / 11,669] 218 / 411 tests; Testing //pkg/lightning/backend/external:external_test (shard 39 of 50); 20s remote-cache, linux-sandbox ... (70 actions running)
[10,187 / 11,669] 218 / 411 tests; Testing //pkg/lightning/backend/external:external_test (shard 39 of 50); 21s remote-cache, linux-sandbox ... (70 actions running)
[10,191 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 15s remote-cache, linux-sandbox ... (70 actions running)
[10,196 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 16s remote-cache, linux-sandbox ... (70 actions running)
[10,202 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 17s remote-cache, linux-sandbox ... (70 actions running)
[10,206 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,211 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,212 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,215 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 22s remote-cache, linux-sandbox ... (70 actions running)
[10,230 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 23s remote-cache, linux-sandbox ... (70 actions running)
[10,232 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 24s remote-cache, linux-sandbox ... (70 actions running)
[10,234 / 11,669] 219 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,254 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 27s remote-cache, linux-sandbox ... (70 actions running)
[10,255 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 28s remote-cache, linux-sandbox ... (70 actions running)
[10,259 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 29s remote-cache, linux-sandbox ... (70 actions running)
[10,266 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,276 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,285 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,295 / 11,669] 220 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,306 / 11,669] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,315 / 11,720] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 35s remote-cache, linux-sandbox ... (70 actions running)
[10,326 / 11,720] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 36s remote-cache, linux-sandbox ... (70 actions running)
[10,328 / 11,722] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 37s remote-cache, linux-sandbox ... (70 actions running)
[10,331 / 11,722] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 38s remote-cache, linux-sandbox ... (70 actions running)
[10,336 / 11,722] 220 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 39s remote-cache, linux-sandbox ... (70 actions running)
[10,357 / 11,722] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 40s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,365 / 11,740] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 41s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,374 / 11,740] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 42s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,380 / 11,740] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 43s remote-cache, linux-sandbox ... (70 actions running)
[10,387 / 11,740] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 44s remote-cache, linux-sandbox ... (70 actions running)
[10,397 / 11,740] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 45s remote-cache, linux-sandbox ... (70 actions running)
[10,402 / 11,791] 221 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 47s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,426 / 11,791] 221 / 411 tests; GoLink pkg/sessionctx/binloginfo/binloginfo_test_/binloginfo_test; 18s remote-cache, linux-sandbox ... (70 actions running)
[10,439 / 11,803] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 14s remote-cache, linux-sandbox ... (70 actions running)
[10,445 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 15s remote-cache, linux-sandbox ... (70 actions running)
[10,454 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 17s remote-cache, linux-sandbox ... (70 actions running)
[10,462 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 18s remote-cache, linux-sandbox ... (70 actions running)
[10,470 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 19s remote-cache, linux-sandbox ... (70 actions running)
[10,481 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 20s remote-cache, linux-sandbox ... (70 actions running)
[10,485 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 21s remote-cache, linux-sandbox ... (70 actions running)
[10,496 / 11,807] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 22s remote-cache, linux-sandbox ... (70 actions running)
[10,504 / 11,811] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 23s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,509 / 11,811] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 24s remote-cache, linux-sandbox ... (69 actions running)
[10,516 / 11,811] 221 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,529 / 11,811] 223 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,538 / 11,834] 223 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,543 / 11,834] 223 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,548 / 11,834] 223 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 29s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,554 / 11,834] 223 / 411 tests; GoCompilePkg pkg/statistics/handle/globalstats/core.recompile1243.a; 17s remote-cache, linux-sandbox ... (70 actions running)
[10,563 / 11,834] 223 / 411 tests; GoCompilePkg pkg/statistics/handle/globalstats/core.recompile1243.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,574 / 11,836] 224 / 411 tests; GoLink pkg/store/gcworker/gcworker_test_/gcworker_test; 18s remote-cache, linux-sandbox ... (70 actions running)
[10,582 / 11,862] 224 / 411 tests; GoCompilePkg pkg/infoschema/perfschema/core.recompile1244.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,591 / 11,862] 224 / 411 tests; GoCompilePkg pkg/infoschema/perfschema/core.recompile1244.a; 19s remote-cache, linux-sandbox ... (70 actions running)
[10,601 / 11,862] 225 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 18s remote-cache, linux-sandbox ... (70 actions running)
[10,602 / 11,862] 225 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 20s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,613 / 11,862] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 21s remote-cache, linux-sandbox ... (70 actions running)
[10,617 / 11,862] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 22s remote-cache, linux-sandbox ... (70 actions running)
[10,624 / 11,862] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 23s remote-cache, linux-sandbox ... (70 actions running)
[10,630 / 11,862] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 25s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,633 / 11,875] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,644 / 11,875] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 27s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,648 / 11,884] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 28s remote-cache, linux-sandbox ... (70 actions running)
[10,652 / 11,884] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 29s remote-cache, linux-sandbox ... (70 actions running)
[10,664 / 11,923] 227 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,666 / 11,923] 227 / 411 tests; Testing //pkg/expression:expression_test (shard 1 of 50); 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,671 / 11,923] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 23s remote-cache, linux-sandbox ... (68 actions, 67 running)
[10,685 / 11,942] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 24s remote-cache, linux-sandbox ... (70 actions running)
[10,686 / 11,942] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 25s remote-cache, linux-sandbox ... (70 actions running)
[10,695 / 11,942] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 26s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,704 / 12,044] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 27s remote-cache, linux-sandbox ... (70 actions running)
[10,705 / 12,044] 227 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 28s remote-cache, linux-sandbox ... (70 actions running)
[10,714 / 12,044] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 29s remote-cache, linux-sandbox ... (70 actions running)
[10,715 / 12,044] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 30s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,718 / 12,044] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 31s remote-cache, linux-sandbox ... (69 actions running)
[10,727 / 12,044] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 32s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,732 / 12,095] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 33s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,734 / 12,095] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 34s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,739 / 12,095] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 36s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,746 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 37s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,751 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 38s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,754 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 39s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,759 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 40s remote-cache, linux-sandbox ... (70 actions running)
[10,761 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 41s remote-cache, linux-sandbox ... (70 actions running)
[10,769 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 42s remote-cache, linux-sandbox ... (70 actions running)
[10,769 / 12,104] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 43s remote-cache, linux-sandbox ... (70 actions running)
[10,776 / 12,106] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,782 / 12,106] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 45s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,792 / 12,106] 228 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 46s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,794 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 48s remote-cache, linux-sandbox ... (70 actions running)
[10,800 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 49s remote-cache, linux-sandbox ... (70 actions running)
[10,802 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 50s remote-cache, linux-sandbox ... (70 actions running)
[10,804 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 51s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,816 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,819 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 54s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,821 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,822 / 12,106] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 56s remote-cache, linux-sandbox ... (70 actions running)
[10,839 / 12,121] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,847 / 12,121] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 58s remote-cache, linux-sandbox ... (68 actions, 67 running)
[10,851 / 12,123] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,863 / 12,123] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,872 / 12,123] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,872 / 12,123] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 63s remote-cache, linux-sandbox ... (70 actions running)
[10,888 / 12,123] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 64s remote-cache, linux-sandbox ... (70 actions running)
[10,896 / 12,129] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 65s remote-cache, linux-sandbox ... (70 actions running)
[10,900 / 12,129] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 66s 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)
[10,901 / 12,129] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 67s remote-cache, linux-sandbox ... (70 actions running)
[10,905 / 12,129] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 68s remote-cache, linux-sandbox ... (70 actions running)
[10,908 / 12,129] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 69s remote-cache, linux-sandbox ... (70 actions, 69 running)
[10,920 / 12,129] 231 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,934 / 12,166] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 72s remote-cache, linux-sandbox ... (70 actions running)
[10,947 / 12,178] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,952 / 12,178] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 74s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,960 / 12,178] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 75s remote-cache, linux-sandbox ... (68 actions, 66 running)
[10,967 / 12,178] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,975 / 12,178] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 77s remote-cache, linux-sandbox ... (70 actions running)
[10,979 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,988 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,992 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 63s remote-cache, linux-sandbox ... (69 actions, 68 running)
[10,996 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 64s remote-cache, linux-sandbox ... (70 actions running)
[10,996 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 65s remote-cache, linux-sandbox ... (70 actions running)
[10,996 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 66s remote-cache, linux-sandbox ... (70 actions running)
[11,007 / 12,207] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 67s remote-cache, linux-sandbox ... (70 actions running)
[11,012 / 12,236] 233 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 69s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,014 / 12,287] 233 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 58s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,018 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,023 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,026 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,027 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 63s remote-cache, linux-sandbox ... (70 actions running)
[11,030 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 64s remote-cache, linux-sandbox ... (70 actions running)
[11,035 / 12,293] 234 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,040 / 12,303] 235 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 66s remote-cache, linux-sandbox ... (70 actions running)
[11,042 / 12,303] 235 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 68s remote-cache, linux-sandbox ... (70 actions running)
[11,042 / 12,303] 235 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,047 / 12,303] 236 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,059 / 12,303] 236 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,065 / 12,303] 236 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,067 / 12,303] 236 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,076 / 12,303] 236 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,080 / 12,303] 237 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 76s remote-cache, linux-sandbox ... (70 actions running)
[11,085 / 12,303] 237 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 77s remote-cache, linux-sandbox ... (69 actions running)
[11,095 / 12,303] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,097 / 12,303] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,105 / 12,303] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,108 / 12,303] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,121 / 12,303] 238 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 74s remote-cache, linux-sandbox ... (70 actions running)
[11,123 / 12,303] 238 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 75s remote-cache, linux-sandbox ... (70 actions running)
[11,135 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 76s remote-cache, linux-sandbox ... (68 actions, 66 running)
[11,139 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 77s 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 09:40:41.028 +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 09:40:41.033 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:41.033 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:41.111 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:41.111 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:41.140 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:41.167 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=375d9544-bf8f-4832-a13f-8d019ff3f361] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:40:41.711 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:40:41.711 +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 09:40:41.713 +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 09:40:41.754 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=40.398394ms]
[2024/05/06 09:40:41.760 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:40:41.760 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=df0f367d-9a12-4db8-8dc1-a8e70c14c81f] [runWorker=true]
[2024/05/06 09:40:41.760 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:40:41.761 +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 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:40:41.761 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:40:41.761 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:40:41.766 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:40:41.767 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:40:41.767 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:40:41.772 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:40:41.773 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:40:41.780 +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 09:40:41.844 +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 09:40:41.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:41.845 +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 09:40:41.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:40:41.912 +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 09:40:41.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:41.993 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=44.698159ms]
[2024/05/06 09:40:41.999 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:40:42.015 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:42.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:40:42.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=1] ["take time"=68.496866ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:40:41.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:42.073 +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 09:40:41.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:42.104 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:40:42.104 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:42.105 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.326108173\n# Parse_time: 0\n# Compile_time: 0.000736311\n# Rewrite_time: 0.000037427\n# Optimize_time: 0\n# Wait_TS: 0.000239151\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 09:40:42.107 +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 09:40:42.152 +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 09:40:42.492 +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 09:40:42.172 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:42.492 +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 09:40:42.172 +0000 UTC, Err:<nil>, 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 09:40:42.565 +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 09:40:42.172 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:42.771 +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 09:40:43.186 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=7.880083ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:43.201 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:43.201 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:40:43.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=2] ["take time"=24.835512ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:42.172 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:43.339 +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 09:40:42.172 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:43.772 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:40:43.862 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:40:43.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:43.926 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.787643976\n# Parse_time: 0\n# Compile_time: 0.013649373\n# Rewrite_time: 0.000016569\n# Optimize_time: 0\n# Wait_TS: 0.000156015\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 09:40:43.938 +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 09:40:44.053 +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 09:40:43.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:44.053 +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 09:40:43.969 +0000 UTC, Err:<nil>, 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 09:40:44.169 +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 09:40:43.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:44.296 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=2.360185ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:44.310 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:44.310 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:40:44.321 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=28.714033ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:43.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:44.451 +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 09:40:43.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:44.565 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:40:44.565 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:44.567 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.635551785\n# Parse_time: 0\n# Compile_time: 0.007076478\n# Rewrite_time: 0.000013403\n# Optimize_time: 0\n# Wait_TS: 0.000160688\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 09:40:44.571 +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 09:40:44.669 +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 09:40:44.592 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:44.670 +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 09:40:44.592 +0000 UTC, Err:<nil>, 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 09:40:44.872 +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 09:40:44.592 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:45.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=2.268489ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:45.096 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:45.097 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:40:45.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=4] ["take time"=26.40583ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:44.592 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:45.227 +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 09:40:44.592 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:45.457 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:40:45.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:45.468 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.898351879\n# Parse_time: 0\n# Compile_time: 0.002621836\n# Rewrite_time: 0.000017132\n# Optimize_time: 0\n# Wait_TS: 0.000139198\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 09:40:45.517 +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 09:40:45.860 +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 09:40:45.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:45.860 +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 09:40:45.546 +0000 UTC, Err:<nil>, 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 09:40:45.947 +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 09:40:45.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:46.294 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=5.793551ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:46.308 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:46.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:40:46.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=5] ["take time"=20.466614ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:45.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:46.415 +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 09:40:45.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:46.750 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:40:46.750 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:46.752 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.2548589620000001\n# Parse_time: 0\n# Compile_time: 0.019590624\n# Rewrite_time: 0.000016565\n# Optimize_time: 0\n# Wait_TS: 0.000161648\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 09:40:46.775 +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 09:40:46.885 +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 09:40:46.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:46.885 +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 09:40:46.789 +0000 UTC, Err:<nil>, 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 09:40:47.063 +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 09:40:46.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:47.364 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.299218ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:47.378 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:47.378 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:40:47.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=6] ["take time"=36.348377ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:46.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:47.523 +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 09:40:46.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:47.670 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:40:47.671 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:47.673 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.902228088\n# Parse_time: 0\n# Compile_time: 0.004056067\n# Rewrite_time: 0.000010893\n# Optimize_time: 0\n# Wait_TS: 0.000137197\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 09:40:47.681 +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 09:40:47.883 +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 09:40:47.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:47.883 +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 09:40:47.696 +0000 UTC, Err:<nil>, 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 09:40:48.040 +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 09:40:47.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:48.211 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=2.854974ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:48.234 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:48.234 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:40:48.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=7] ["take time"=27.545795ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:47.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:48.353 +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 09:40:47.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:48.449 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:40:48.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:48.452 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.774080347\n# Parse_time: 0\n# Compile_time: 0.003671694\n# Rewrite_time: 0.000013063\n# Optimize_time: 0\n# Wait_TS: 0.000139711\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 09:40:48.456 +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 09:40:48.509 +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 09:40:48.472 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:48.510 +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 09:40:48.472 +0000 UTC, Err:<nil>, 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 09:40:48.715 +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 09:40:48.472 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:48.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.664532ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:48.810 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:48.811 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:40:48.812 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=20.086049ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:48.472 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:49.039 +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 09:40:48.472 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:49.109 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:40:49.110 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:49.113 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.658486825\n# Parse_time: 0\n# Compile_time: 0.001818017\n# Rewrite_time: 0.000013795\n# Optimize_time: 0\n# Wait_TS: 0.000146441\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 09:40:49.117 +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 09:40:49.165 +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 09:40:49.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:49.165 +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 09:40:49.128 +0000 UTC, Err:<nil>, 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 09:40:49.247 +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 09:40:49.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:49.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.118928ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:49.424 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:49.425 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:40:49.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=9] ["take time"=20.161615ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:49.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:49.560 +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 09:40:49.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:49.657 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:40:49.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:49.659 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.543426102\n# Parse_time: 0\n# Compile_time: 0.001748194\n# Rewrite_time: 0.000010023\n# Optimize_time: 0\n# Wait_TS: 0.000127353\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 09:40:49.701 +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 09:40:49.829 +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 09:40:49.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:49.829 +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 09:40:49.73 +0000 UTC, Err:<nil>, 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 09:40:49.991 +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 09:40:49.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:50.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=3.029965ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:50.224 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:50.224 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:40:50.225 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=22.339188ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:49.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:50.352 +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 09:40:49.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:50.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:40:50.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:50.535 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.869914955\n# Parse_time: 0\n# Compile_time: 0.036857162\n# Rewrite_time: 0.000015936\n# Optimize_time: 0\n# Wait_TS: 0.00022898\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 09:40:50.565 +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 09:40:50.693 +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 09:40:50.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:50.693 +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 09:40:50.589 +0000 UTC, Err:<nil>, 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 09:40:50.798 +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 09:40:50.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:50.960 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.413941ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:50.990 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:50.990 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:40:50.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=11] ["take time"=35.681849ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:50.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:51.161 +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 09:40:50.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:51.310 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:40:51.310 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:51.312 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.762739005\n# Parse_time: 0\n# Compile_time: 0.015649493\n# Rewrite_time: 0.000013321\n# Optimize_time: 0\n# Wait_TS: 0.000159265\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 09:40:51.325 +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 09:40:51.326 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:40:51.619 +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 09:40:51.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:51.620 +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 09:40:51.34 +0000 UTC, Err:<nil>, 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 09:40:51.786 +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 09:40:51.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:52.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.258694ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:52.074 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:52.074 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:40:52.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=12] ["take time"=34.962586ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:51.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:52.199 +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 09:40:51.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:52.380 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:40:52.380 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:52.382 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.062482979\n# Parse_time: 0\n# Compile_time: 0.005335579\n# Rewrite_time: 0.00001377\n# Optimize_time: 0\n# Wait_TS: 0.00016092\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 09:40:52.391 +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 09:40:52.503 +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 09:40:52.428 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:52.503 +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 09:40:52.428 +0000 UTC, Err:<nil>, 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 09:40:52.665 +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 09:40:52.428 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:52.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.08567ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:52.829 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:52.830 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:40:52.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=13] ["take time"=22.697211ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:52.428 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:53.044 +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 09:40:52.428 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:53.237 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:40:53.238 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:53.240 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.853251367\n# Parse_time: 0\n# Compile_time: 0.004290983\n# Rewrite_time: 0.000013907\n# Optimize_time: 0\n# Wait_TS: 0.00016607\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 09:40:53.248 +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 09:40:53.396 +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 09:40:53.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:53.396 +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 09:40:53.262 +0000 UTC, Err:<nil>, 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 09:40:53.489 +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 09:40:53.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:53.722 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=3.577331ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:53.751 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:53.751 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:40:53.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=14] ["take time"=34.21299ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:53.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:53.859 +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 09:40:53.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:53.982 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:40:53.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:53.984 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.739231436\n# Parse_time: 0\n# Compile_time: 0.003405896\n# Rewrite_time: 0.000014248\n# Optimize_time: 0\n# Wait_TS: 0.000138386\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 09:40:54.048 +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 09:40:54.146 +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 09:40:54.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:54.146 +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 09:40:54.064 +0000 UTC, Err:<nil>, 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 09:40:54.212 +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 09:40:54.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:54.411 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.284341ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:54.425 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:54.425 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:40:54.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=15] ["take time"=18.140814ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:54.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:54.621 +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 09:40:54.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:54.801 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:40:54.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:54.809 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.821141218\n# Parse_time: 0\n# Compile_time: 0.059879781\n# Rewrite_time: 0.000013104\n# Optimize_time: 0\n# Wait_TS: 0.000151327\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 09:40:54.822 +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 09:40:54.922 +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 09:40:54.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:54.922 +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 09:40:54.868 +0000 UTC, Err:<nil>, 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 09:40:55.007 +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 09:40:54.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:55.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=1.699291ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:55.202 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:55.203 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:40:55.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=16] ["take time"=24.763305ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:54.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:55.281 +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 09:40:54.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:55.480 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:40:55.480 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:55.490 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.676538346\n# Parse_time: 0\n# Compile_time: 0.008383109\n# Rewrite_time: 0.000014033\n# Optimize_time: 0\n# Wait_TS: 0.00014474\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 09:40:55.541 +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 09:40:55.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 09:40:55.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:55.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 09:40:55.583 +0000 UTC, Err:<nil>, 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 09:40:55.745 +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 09:40:55.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:55.894 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.740928ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:55.916 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:55.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:40:55.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=17] ["take time"=32.472036ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:55.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:56.069 +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 09:40:55.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:56.234 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:40:56.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:56.236 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.698864492\n# Parse_time: 0\n# Compile_time: 0.003972298\n# Rewrite_time: 0.000014749\n# Optimize_time: 0\n# Wait_TS: 0.00014112\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 09:40:56.245 +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 09:40:56.364 +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 09:40:56.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:56.364 +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 09:40:56.262 +0000 UTC, Err:<nil>, 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 09:40:56.608 +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 09:40:56.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:56.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=2.510872ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:56.859 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:56.859 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:40:56.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=18] ["take time"=84.392025ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:56.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:57.073 +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 09:40:56.262 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:57.193 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:40:57.193 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:57.195 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.954520078\n# Parse_time: 0\n# Compile_time: 0.004398459\n# Rewrite_time: 0.000023792\n# Optimize_time: 0\n# Wait_TS: 0.001645038\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 09:40:57.208 +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 09:40:57.381 +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 09:40:57.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:57.382 +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 09:40:57.238 +0000 UTC, Err:<nil>, 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 09:40:57.453 +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 09:40:57.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:57.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=4.221015ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:57.862 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:57.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:40:57.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=19] ["take time"=21.434601ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:57.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:58.092 +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 09:40:57.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:58.344 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:40:58.345 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:58.347 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.145221437\n# Parse_time: 0\n# Compile_time: 0.007024982\n# Rewrite_time: 0.000013129\n# Optimize_time: 0\n# Wait_TS: 0.000132996\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 09:40:58.420 +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 09:40:58.493 +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 09:40:58.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:58.494 +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 09:40:58.436 +0000 UTC, Err:<nil>, 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 09:40:58.645 +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 09:40:58.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:58.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=3.796413ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:58.801 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:58.801 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:40:58.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=20] ["take time"=54.153485ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:58.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:58.946 +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 09:40:58.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:59.147 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:40:59.148 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:59.151 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.742075384\n# Parse_time: 0\n# Compile_time: 0.011377134\n# Rewrite_time: 0.00001738\n# Optimize_time: 0\n# Wait_TS: 0.000174679\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 09:40:59.167 +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 09:40:59.290 +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 09:40:59.231 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:59.290 +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 09:40:59.231 +0000 UTC, Err:<nil>, 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 09:40:59.373 +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 09:40:59.231 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:59.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=2.2937ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:40:59.533 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:40:59.533 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:40:59.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=20.066756ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:59.231 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:59.731 +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 09:40:59.231 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:40:59.821 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:40:59.821 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:40:59.823 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.668711933\n# Parse_time: 0\n# Compile_time: 0.012677918\n# Rewrite_time: 0.000013214\n# Optimize_time: 0\n# Wait_TS: 0.000153777\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 09:40:59.826 +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 09:40:59.893 +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 09:40:59.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:40:59.893 +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 09:40:59.844 +0000 UTC, Err:<nil>, 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 09:40:59.994 +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 09:40:59.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:00.121 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.694212ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:00.154 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:00.154 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:41:00.154 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=36.360328ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:40:59.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:00.280 +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 09:40:59.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:00.338 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:41:00.339 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:00.340 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.515887078\n# Parse_time: 0\n# Compile_time: 0.00136811\n# Rewrite_time: 0.000011666\n# Optimize_time: 0\n# Wait_TS: 0.000128303\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 09:41:00.348 +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 09:41:00.545 +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 09:41:00.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:00.545 +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 09:41:00.383 +0000 UTC, Err:<nil>, 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 09:41:00.659 +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 09:41:00.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:00.933 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=4.992041ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:00.965 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:00.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:41:00.967 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=40.551956ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:00.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:01.112 +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 09:41:00.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:01.219 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:41:01.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:01.221 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.876653545\n# Parse_time: 0\n# Compile_time: 0.003592567\n# Rewrite_time: 0.000023802\n# Optimize_time: 0\n# Wait_TS: 0.000164437\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 09:41:01.227 +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 09:41:01.430 +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 09:41:01.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:01.431 +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 09:41:01.272 +0000 UTC, Err:<nil>, 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 09:41:01.540 +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 09:41:01.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:01.673 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=2.22563ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:01.691 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:01.691 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:41:01.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=24] ["take time"=23.140665ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:01.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:01.869 +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 09:41:01.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:02.086 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:41:02.086 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:02.088 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.863476549\n# Parse_time: 0\n# Compile_time: 0.002376292\n# Rewrite_time: 0.000013129\n# Optimize_time: 0\n# Wait_TS: 0.000142024\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 09:41:02.095 +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 09:41:02.166 +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 09:41:02.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:02.166 +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 09:41:02.122 +0000 UTC, Err:<nil>, 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 09:41:02.312 +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 09:41:02.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:02.510 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.182231ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:02.544 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:02.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:41:02.544 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=37.672659ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:02.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:02.820 +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 09:41:02.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:02.993 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:41:02.993 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:02.995 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.90287302\n# Parse_time: 0\n# Compile_time: 0.002802593\n# Rewrite_time: 0.00001264\n# Optimize_time: 0\n# Wait_TS: 0.000144942\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 09:41:03.013 +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 09:41:03.098 +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 09:41:03.027 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:03.098 +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 09:41:03.027 +0000 UTC, Err:<nil>, 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 09:41:03.286 +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 09:41:03.027 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:03.430 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=2.093904ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:03.447 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:03.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:41:03.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"=20.372266ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:03.027 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:03.651 +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 09:41:03.027 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:03.803 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:41:03.804 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:03.806 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.795411504\n# Parse_time: 0\n# Compile_time: 0.002716697\n# Rewrite_time: 0.000013163\n# Optimize_time: 0\n# Wait_TS: 0.000164127\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 09:41:03.810 +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 09:41:04.061 +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 09:41:03.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:04.061 +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 09:41:03.824 +0000 UTC, Err:<nil>, 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 09:41:04.308 +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 09:41:03.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:04.583 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.267689ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:04.614 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:04.614 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:41:04.617 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=36.24393ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:03.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:04.779 +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 09:41:03.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:04.989 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:41:04.990 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:04.994 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.185219301\n# Parse_time: 0\n# Compile_time: 0.002119388\n# Rewrite_time: 0.000013164\n# Optimize_time: 0\n# Wait_TS: 0.000135677\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 09:41:05.006 +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 09:41:05.123 +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 09:41:05.051 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:05.124 +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 09:41:05.051 +0000 UTC, Err:<nil>, 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 09:41:05.264 +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 09:41:05.051 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:05.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.127817ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:05.427 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:05.427 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:41:05.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=28] ["take time"=30.78752ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:05.051 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:05.668 +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 09:41:05.051 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:05.885 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:41:05.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:05.887 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.885816582\n# Parse_time: 0\n# Compile_time: 0.004665468\n# Rewrite_time: 0.000014922\n# Optimize_time: 0\n# Wait_TS: 0.000151598\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 09:41:05.897 +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 09:41:05.899 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:41:06.133 +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 09:41:05.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:06.133 +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 09:41:05.926 +0000 UTC, Err:<nil>, 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 09:41:06.377 +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 09:41:05.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:06.628 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.754858ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:06.710 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:06.710 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:41:06.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=29] ["take time"=86.431614ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:05.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:06.867 +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 09:41:05.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:07.019 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:41:07.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:07.040 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.14677237\n# Parse_time: 0\n# Compile_time: 0.004796763\n# Rewrite_time: 0.000013316\n# Optimize_time: 0\n# Wait_TS: 0.000169725\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 09:41:07.098 +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 09:41:07.177 +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 09:41:07.113 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:07.178 +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 09:41:07.113 +0000 UTC, Err:<nil>, 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 09:41:07.292 +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 09:41:07.113 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:07.564 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.810291ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:07.592 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:07.592 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:41:07.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=30] ["take time"=32.421962ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:07.113 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:07.740 +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 09:41:07.113 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:07.929 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:41:07.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:07.936 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.841734063\n# Parse_time: 0\n# Compile_time: 0.00434855\n# Rewrite_time: 0.000014119\n# Optimize_time: 0\n# Wait_TS: 0.000157227\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 09:41:07.948 +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 09:41:08.079 +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 09:41:07.973 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:08.080 +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 09:41:07.973 +0000 UTC, Err:<nil>, 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 09:41:08.245 +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 09:41:07.973 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:08.618 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=3.025161ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:08.632 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:08.632 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:41:08.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=19.587494ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:07.973 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:08.759 +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 09:41:07.973 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:08.900 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:41:08.901 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:08.903 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.959394084\n# Parse_time: 0\n# Compile_time: 0.00528646\n# Rewrite_time: 0.000012509\n# Optimize_time: 0\n# Wait_TS: 0.000152593\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 09:41:08.933 +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 09:41:09.081 +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 09:41:08.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:09.082 +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 09:41:08.968 +0000 UTC, Err:<nil>, 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 09:41:09.256 +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 09:41:08.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:09.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=25.959129ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:09.493 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:09.493 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:41:09.494 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=44.162357ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:08.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:09.597 +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 09:41:08.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:09.787 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:41:09.787 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:09.791 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.864175733\n# Parse_time: 0\n# Compile_time: 0.006248985\n# Rewrite_time: 0.000015157\n# Optimize_time: 0\n# Wait_TS: 0.000157191\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 09:41:09.795 +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 09:41:10.010 +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 09:41:09.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:10.011 +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 09:41:09.827 +0000 UTC, Err:<nil>, 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 09:41:10.139 +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 09:41:09.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:10.204 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=2.044302ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:10.255 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:10.255 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:41:10.257 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=56.614482ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:09.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:10.376 +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 09:41:09.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:10.439 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:41:10.439 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:10.441 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.64812232\n# Parse_time: 0\n# Compile_time: 0.001990894\n# Rewrite_time: 0.000012378\n# Optimize_time: 0\n# Wait_TS: 0.000138468\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 09:41:10.685 +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 09:41:10.528 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:10.685 +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 09:41:10.528 +0000 UTC, Err:<nil>, 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 09:41:10.743 +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 09:41:10.528 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:11.118 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=2.755289ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:41:11.134 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:11.134 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:41:11.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=34] ["take time"=20.112832ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:41:10.528 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:11.319 +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 09:41:10.528 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:11.589 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:41:11.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:11.592 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.110401397\n# Parse_time: 0\n# Compile_time: 0.013846073\n# Rewrite_time: 0.006007991\n# Optimize_time: 0\n# Wait_TS: 0.000156087\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 09:41:11.599 +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 09:41:11.714 +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 09:41:11.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:11.714 +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 09:41:11.623 +0000 UTC, Err:<nil>, 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 09:41:11.845 +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 09:41:11.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:12.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=3.275028ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:12.153 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:12.153 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:41:12.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=35] ["take time"=27.963668ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:11.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:12.343 +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 09:41:11.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:12.433 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:41:12.433 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:12.435 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.83869382\n# Parse_time: 0\n# Compile_time: 0.003033962\n# Rewrite_time: 0.000013965\n# Optimize_time: 0\n# Wait_TS: 0.000145597\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 09:41:12.454 +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 09:41:12.597 +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 09:41:12.503 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:12.598 +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 09:41:12.503 +0000 UTC, Err:<nil>, 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 09:41:12.672 +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 09:41:12.503 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:12.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.264335ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:12.885 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:12.885 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:41:12.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=36] ["take time"=31.518471ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:12.503 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:12.976 +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 09:41:12.503 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:13.065 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:41:13.066 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:13.067 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.615377935\n# Parse_time: 0\n# Compile_time: 0.0025203\n# Rewrite_time: 0.000014808\n# Optimize_time: 0\n# Wait_TS: 0.000152462\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 09:41:13.082 +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 09:41:13.198 +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 09:41:13.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:13.199 +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 09:41:13.101 +0000 UTC, Err:<nil>, 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 09:41:13.355 +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 09:41:13.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:13.454 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=1.998989ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:13.468 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:13.468 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:41:13.468 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=17.414797ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:13.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:13.721 +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 09:41:13.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:13.815 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:41:13.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:13.818 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.746944083\n# Parse_time: 0\n# Compile_time: 0.011156859\n# Rewrite_time: 0.000012673\n# Optimize_time: 0\n# Wait_TS: 0.000162076\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 09:41:13.834 +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 09:41:14.068 +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 09:41:13.857 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:14.069 +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 09:41:13.857 +0000 UTC, Err:<nil>, 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 09:41:14.200 +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 09:41:13.857 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:14.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=4.646686ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:14.589 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:14.589 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:41:14.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=38] ["take time"=20.504089ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:13.857 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:14.847 +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 09:41:13.857 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:15.209 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:41:15.209 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:15.211 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.384654679\n# Parse_time: 0\n# Compile_time: 0.00767561\n# Rewrite_time: 0.000014406\n# Optimize_time: 0\n# Wait_TS: 0.000157167\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 09:41:15.221 +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 09:41:15.344 +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 09:41:15.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:15.351 +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 09:41:15.249 +0000 UTC, Err:<nil>, 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 09:41:15.617 +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 09:41:15.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:16.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.631339ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:16.025 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:16.025 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:41:16.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=39] ["take time"=23.099341ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:15.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:16.219 +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 09:41:15.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:16.516 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:41:16.516 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:16.518 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.301515314\n# Parse_time: 0\n# Compile_time: 0.004360806\n# Rewrite_time: 0.00001383\n# Optimize_time: 0\n# Wait_TS: 0.000178131\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 09:41:16.570 +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 09:41:16.840 +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 09:41:16.595 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:16.840 +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 09:41:16.595 +0000 UTC, Err:<nil>, 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 09:41:16.963 +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 09:41:16.595 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:17.313 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=10.2687ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:17.352 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:17.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:41:17.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=40] ["take time"=50.483132ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:16.595 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:17.491 +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 09:41:16.595 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:17.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:41:17.742 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:17.744 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.210037551\n# Parse_time: 0\n# Compile_time: 0.035465928\n# Rewrite_time: 0.00001511\n# Optimize_time: 0\n# Wait_TS: 0.000155405\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 09:41:17.755 +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 09:41:17.880 +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 09:41:17.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:17.881 +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 09:41:17.771 +0000 UTC, Err:<nil>, 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 09:41:18.006 +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 09:41:17.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:18.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=13.209999ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:18.313 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:18.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:41:18.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=41] ["take time"=29.842854ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:17.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:18.491 +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 09:41:17.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:18.643 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:41:18.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:18.646 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.895388425\n# Parse_time: 0\n# Compile_time: 0.004470906\n# Rewrite_time: 0.000014653\n# Optimize_time: 0\n# Wait_TS: 0.000157205\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 09:41:18.656 +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 09:41:18.808 +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 09:41:18.674 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:18.808 +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 09:41:18.674 +0000 UTC, Err:<nil>, 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 09:41:18.903 +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 09:41:18.674 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:19.325 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=4.867217ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:19.339 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:19.339 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:41:19.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=42] ["take time"=22.741043ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:18.674 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:19.524 +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 09:41:18.674 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:19.662 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:41:19.662 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:19.664 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.012637204\n# Parse_time: 0\n# Compile_time: 0.004496695\n# Rewrite_time: 0.00001378\n# Optimize_time: 0\n# Wait_TS: 0.000163504\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 09:41:19.682 +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 09:41:19.883 +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 09:41:19.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:19.883 +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 09:41:19.699 +0000 UTC, Err:<nil>, 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 09:41:20.020 +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 09:41:19.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:20.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=4.623049ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:20.423 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:20.423 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:41:20.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=43] ["take time"=22.229139ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:19.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:20.622 +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 09:41:19.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:20.816 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:41:20.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:20.818 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.14434801\n# Parse_time: 0\n# Compile_time: 0.008693691\n# Rewrite_time: 0.00001394\n# Optimize_time: 0\n# Wait_TS: 0.000149948\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 09:41:20.864 +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 09:41:21.042 +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 09:41:20.881 +0000 UTC, Err:<nil>, 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 09:41:21.043 +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 09:41:20.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:21.112 +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 09:41:20.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:21.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=8.5208ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:21.359 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:21.359 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:41:21.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=44] ["take time"=31.819584ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:20.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:21.441 +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 09:41:20.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:21.549 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:41:21.550 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:21.552 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.692752073\n# Parse_time: 0\n# Compile_time: 0.00453469\n# Rewrite_time: 0.000013867\n# Optimize_time: 0\n# Wait_TS: 0.000155006\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 09:41:21.563 +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 09:41:21.687 +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 09:41:21.58 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:21.687 +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 09:41:21.58 +0000 UTC, Err:<nil>, 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 09:41:21.747 +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 09:41:21.58 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:21.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=4.552798ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:21.969 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:21.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:41:21.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=45] ["take time"=23.228483ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:21.58 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:22.202 +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 09:41:21.58 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:22.363 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:41:22.363 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:22.365 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.806961035\n# Parse_time: 0\n# Compile_time: 0.004479748\n# Rewrite_time: 0.00001327\n# Optimize_time: 0\n# Wait_TS: 0.000163811\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 09:41:22.394 +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 09:41:22.549 +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 09:41:22.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:22.549 +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 09:41:22.413 +0000 UTC, Err:<nil>, 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 09:41:22.701 +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 09:41:22.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:23.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=6.578628ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:23.289 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:23.289 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:41:23.292 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=26.981243ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:22.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:23.416 +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 09:41:22.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:23.718 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:41:23.718 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:23.720 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.333096793\n# Parse_time: 0\n# Compile_time: 0.006623832\n# Rewrite_time: 0.000013161\n# Optimize_time: 0\n# Wait_TS: 0.00016267\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 09:41:23.728 +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 09:41:23.863 +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 09:41:23.749 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:23.863 +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 09:41:23.749 +0000 UTC, Err:<nil>, 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 09:41:24.092 +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 09:41:23.749 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:24.326 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=3.47734ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:24.424 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:24.424 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:41:24.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=47] ["take time"=102.649295ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:23.749 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:24.524 +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 09:41:23.749 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:24.632 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:41:24.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:24.634 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.909539872\n# Parse_time: 0\n# Compile_time: 0.003712116\n# Rewrite_time: 0.000018192\n# Optimize_time: 0\n# Wait_TS: 0.000156637\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 09:41:24.641 +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 09:41:24.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 09:41:24.657 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:24.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 09:41:24.657 +0000 UTC, Err:<nil>, 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 09:41:24.801 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:41:24.801 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:41:24.801 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:41:24.801 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:41:24.804 +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 09:41:24.657 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:24.981 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=2.489206ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:25.000 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:25.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:41:25.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=48] ["take time"=25.364017ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:24.657 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.116 +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 09:41:24.657 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.181 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:41:25.181 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:25.183 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.544506904\n# Parse_time: 0\n# Compile_time: 0.002654632\n# Rewrite_time: 0.000012911\n# Optimize_time: 0\n# Wait_TS: 0.00016726\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 09:41:25.189 +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 09:41:25.264 +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 09:41:25.203 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:25.264 +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 09:41:25.203 +0000 UTC, Err:<nil>, 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 09:41:25.334 +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 09:41:25.203 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.462 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=2.850334ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:41:25.477 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:25.478 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:41:25.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=49] ["take time"=23.193046ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:41:25.203 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.576 +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 09:41:25.203 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.644 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:41:25.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:25.645 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.459421549\n# Parse_time: 0\n# Compile_time: 0.002630921\n# Rewrite_time: 0.000012821\n# Optimize_time: 0\n# Wait_TS: 0.000124464\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 09:41:25.647 +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 09:41:25.677 +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 09:41:25.658 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:25.677 +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 09:41:25.658 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:41:25.727 +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 09:41:25.658 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=620.615ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:41:25.772 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:25.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:41:25.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=50] ["take time"=18.760178ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:41:25.658 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.911 +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 09:41:25.658 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:25.942 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:41:25.942 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:26.007 +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 09:41:25.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:41:26.007 +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 09:41:25.963 +0000 UTC, Err:<nil>, 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 09:41:26.119 +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 09:41:25.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:26.205 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=1.407984ms] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:41:26.218 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:41:26.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:41:26.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=51] ["take time"=16.601983ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:41:25.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:26.295 +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 09:41:25.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:41:26.412 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:41:26.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:41:26.414 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.466445509\n# Parse_time: 0\n# Compile_time: 0.004603265\n# Rewrite_time: 0.001941561\n# Optimize_time: 0\n# Wait_TS: 0.000113452\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 09:41:27.772 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449573941783035904\n# Query_time: 0.875218811\n# Parse_time: 0\n# Compile_time: 0.412016884\n# Rewrite_time: 0.009306004\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 360062\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTo0NDQuOW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDUxLjMBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0AUEAXwVokDIwMy43wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjc2OS4BIRQsIGdldF8RJCBzOjMyLjPCtXMRNxA6My4xNgGOHHNsb3dlc3RfEUEFdAAgEbRgMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwHZBQcIMSwgGYwYcHJpbWFyeUZEAAAzikQADWQIbnVtAfQFzhBfa2V5cxkOnGJ5dGU6MzJ9fX0sIGluc2VydDozOTMuNm1zCTEwMy42IEtCCU4vQQo=')\n# Resource_group: default\n;"]
[2024/05/06 09:41:28.151 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=46.38030331s]
[2024/05/06 09:41:28.201 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=df0f367d-9a12-4db8-8dc1-a8e70c14c81f] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=24.26ยตs]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=12.16ยตs]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=26.646ยตs]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=17.804ยตs]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=17.185ยตs]
[2024/05/06 09:41:28.202 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:28.202 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:41:28.202 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:41:28.228 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=df0f367d-9a12-4db8-8dc1-a8e70c14c81f] ["take time"=66.49652ms]
[2024/05/06 09:41:28.228 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=df0f367d-9a12-4db8-8dc1-a8e70c14c81f]
[2024/05/06 09:41:28.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:41:28.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:41:28.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:41:28.229 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:41:28.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:41:28.229 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:41:28.229 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:41:28.230 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:41:28.230 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:41:28.229 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:41:28.230 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:41:28.230 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:41:28.230 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:41:28.230 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:41:28.230 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:41:28.230 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=69.098477ms]
[2024/05/06 09:41:28.231 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=375d9544-bf8f-4832-a13f-8d019ff3f361] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:41:28.594 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:41:28.594 +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 09:41:28.810 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=213.133099ms]
[2024/05/06 09:41:28.816 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:41:28.816 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933] [runWorker=true]
[2024/05/06 09:41:28.817 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:41:28.817 +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 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:41:28.817 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:41:28.818 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:41:28.818 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:41:28.822 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:41:28.822 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:41:28.822 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:41:28.822 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:41:28.823 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:41:28.894 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:41:28.895 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:41:28.992 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true]
[2024/05/06 09:41:29.006 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:41:29.202 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:41:29.253 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:41:29.273 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:41:29.277 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:41:29.278 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:41:29.278 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:41:29.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:41:29.295 +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 09:41:29.295 +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 09:41:29.492 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:41:29.869 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:41:29.869 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:41:29.869 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:41:29.869 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:41:30.148 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=809.432392ms]
[2024/05/06 09:41:30.219 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:41:30.219 +00:00] [WARN] [domain.go:647] ["loading schema takes a long time"] ["take time"=881.160919ms]
[2024/05/06 09:41:30.307 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl]
[2024/05/06 09:41:30.307 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true]
[2024/05/06 09:41:30.626 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449573942621896704\n# Conn_ID: 1\n# Query_time: 1.014937491\n# Parse_time: 0\n# Compile_time: 0.005615706\n# Rewrite_time: 0.001229139\n# Optimize_time: 0.002611729\n# Wait_TS: 0.000214688\n# Prewrite_time: 0.000784158 Commit_time: 0.00254705 Get_commit_ts_time: 0.000021125 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('zwLwbTAJMjdfMQkwCTAJTi9BCTAJdGltZToyLjUzbXMsIGxvb3BzOjEsIHByZXBhcmU6IDEuMDJtcywgaW5zZXJ0OjEuNTFtcywgY29tbWl0X3R4bjoge3ByZXdyaXRlOjc4NC4ywrVzLCBnZXRfY29tBSQcczoyMS4xwrUVNwFvADUBbyRzbG93ZXN0X3ByCUHgX3JwYzoge3RvdGFsOiAwLjAwMXMsIHJlZ2lvbl9pZDogMiwgc3RvcmU6IHN0b3JlMSwgfSwgY29tAWgYcHJpbWFyeUZEAAAyikQADWQIbnVtAf4wd3JpdGVfa2V5czozLA0OVGJ5dGU6MTg5fQkxLjA4IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('2gLoCtUCCghJbnNlcnRfMTgBQAFSA04vQVoUdGltZToyLjUzbXMsIGxvb3BzOjFiHnByZXBhcmU6IDEuMDIBGgRpbgE6uDoxLjUxbXNi+wFjb21taXRfdHhuOiB7cHJld3JpdGU6Nzg0LjLCtXMsIGdldF9jDSQoczoyMS4xwrVzLCAJNwFwADUBVhxzbG93ZXN0XxFBmF9ycGM6IHt0b3RhbDogMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwGZAHMBBwwxLCB9EVUcX3ByaW1hcnlGRAAAMopEAA1kGG51bToxLCAFzhhfa2V5czozEQ5gYnl0ZToxODl9cNMIeP///////////wEYAQ==')\n# Resource_group: default\n   insert into mysql.tidb_global_task(task_key, type, state, priority, concurrency, step, meta, create_time, target_scope)    values ('key2', 'test', 'pending', 512, 4, -1, _binary'test', CURRENT_TIMESTAMP(), '');"]
[2024/05/06 09:41:30.823 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
    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 09:41:30.843 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:41:30.843 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:30.843 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=29.277ยตs]
[2024/05/06 09:41:30.843 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=22.054ยตs]
[2024/05/06 09:41:30.844 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=21.245ยตs]
[2024/05/06 09:41:30.844 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=23.693ยตs]
[2024/05/06 09:41:30.844 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:30.844 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=13.58ยตs]
[2024/05/06 09:41:30.844 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:41:30.844 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:41:30.844 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:41:30.845 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933] ["take time"=9.518926ms]
[2024/05/06 09:41:30.845 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933]
[2024/05/06 09:41:30.845 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:41:30.845 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl]
[2024/05/06 09:41:30.845 +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 09:41:30.846 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:41:30.846 +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 09:41:30.846 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:41:30.846 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:41:30.856 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:41:30.856 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:41:30.856 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:41:30.856 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:41:30.857 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:41:30.857 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:41:30.857 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:41:30.857 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:41:30.858 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:41:30.858 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:41:30.858 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:41:30.858 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:41:30.858 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:41:30.859 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:41:30.859 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:41:30.859 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:41:30.859 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:41:30.859 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:41:30.859 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:41:30.859 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4d43fa9a-4b53-4dad-b32b-811f60924933] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:41:30.859 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:41:30.859 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:41:30.872 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=36.26847ms]
[2024/05/06 09:41:30.873 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:41:30.875 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:41:30.875 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:41:30.875 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:41:30.875 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:41:30.875 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- FAIL: TestTaskState (49.96s)
FAIL
coverage: 9.7% of statements
--
Coverage runner: Not collecting coverage for failed test.
The following commands failed with status 1
/home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/9782/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,143 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,149 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,151 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,156 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,159 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,161 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 84s remote-cache, linux-sandbox ... (70 actions running)
[11,163 / 12,303] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 85s remote-cache, linux-sandbox ... (69 actions running)
[11,169 / 12,303] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 86s remote-cache, linux-sandbox ... (70 actions running)
[11,174 / 12,314] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,177 / 12,314] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,177 / 12,314] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 90s remote-cache, linux-sandbox ... (70 actions running)
[11,180 / 12,314] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,184 / 12,314] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,190 / 12,316] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 94s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,196 / 12,367] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 95s remote-cache, linux-sandbox ... (70 actions running)
[11,201 / 12,384] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 96s remote-cache, linux-sandbox ... (70 actions running)
[11,203 / 12,384] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 98s remote-cache, linux-sandbox ... (70 actions running)
[11,210 / 12,384] 241 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 99s remote-cache, linux-sandbox ... (70 actions running)
[11,215 / 12,386] 241 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,220 / 12,386] 241 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,228 / 12,388] 242 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 103s remote-cache, linux-sandbox ... (70 actions running)
[11,230 / 12,388] 242 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 104s remote-cache, linux-sandbox ... (70 actions running)
[11,235 / 12,388] 242 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 106s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,246 / 12,388] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,251 / 12,388] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,256 / 12,388] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 109s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,262 / 12,388] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 110s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,269 / 12,388] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 111s remote-cache, linux-sandbox ... (68 actions, 67 running)
[11,277 / 12,390] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 112s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,281 / 12,418] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 113s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,283 / 12,418] 243 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 114s remote-cache, linux-sandbox ... (70 actions running)
[11,290 / 12,418] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 115s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,293 / 12,418] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,298 / 12,418] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,308 / 12,418] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 119s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,317 / 12,422] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 120s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,319 / 12,422] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 121s remote-cache, linux-sandbox ... (70 actions running)
[11,325 / 12,422] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 122s remote-cache, linux-sandbox ... (70 actions running)
[11,330 / 12,428] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,335 / 12,428] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 125s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,338 / 12,457] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 126s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,348 / 12,457] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 127s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,351 / 12,457] 244 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 128s remote-cache, linux-sandbox ... (70 actions running)
[11,358 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 129s remote-cache, linux-sandbox ... (70 actions running)
[11,362 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 131s remote-cache, linux-sandbox ... (70 actions running)
[11,366 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 132s remote-cache, linux-sandbox ... (70 actions running)
[11,367 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 134s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,385 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 135s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,389 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 136s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,397 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 137s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,398 / 12,457] 245 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 138s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,403 / 12,457] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 139s remote-cache, linux-sandbox ... (70 actions running)
[11,412 / 12,457] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 140s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,417 / 12,457] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 141s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,418 / 12,457] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 143s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,424 / 12,475] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 144s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,430 / 12,475] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 145s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,433 / 12,475] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 146s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,436 / 12,475] 247 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 147s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,445 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 148s remote-cache, linux-sandbox ... (69 actions running)
[11,447 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 149s remote-cache, linux-sandbox ... (70 actions running)
[11,455 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 151s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,456 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 152s remote-cache, linux-sandbox ... (70 actions running)
[11,457 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 154s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,470 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 155s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,471 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 156s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,473 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 157s remote-cache, linux-sandbox ... (70 actions running)
[11,485 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 158s remote-cache, linux-sandbox ... (70 actions running)
[11,489 / 12,475] 249 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 159s remote-cache, linux-sandbox ... (70 actions running)
[11,494 / 12,475] 250 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 160s remote-cache, linux-sandbox ... (70 actions running)
[11,503 / 12,475] 250 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 161s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,507 / 12,475] 250 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 63s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,511 / 12,475] 250 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 64s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,515 / 12,475] 251 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,522 / 12,475] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,527 / 12,475] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 68s remote-cache, linux-sandbox ... (70 actions running)
[11,528 / 12,475] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,540 / 12,477] 253 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 19 of 22); 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,542 / 12,477] 253 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 19 of 22); 46s remote-cache, linux-sandbox ... (70 actions running)
[11,551 / 12,477] 254 / 411 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 43s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,553 / 12,477] 254 / 411 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,555 / 12,477] 254 / 411 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 46s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,561 / 12,477] 254 / 411 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 47s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,565 / 12,477] 254 / 411 tests; Testing //pkg/executor/importer:importer_test (shard 23 of 28); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,568 / 12,477] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,574 / 12,484] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 45s remote-cache, linux-sandbox ... (70 actions running)
[11,578 / 12,496] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 46s remote-cache, linux-sandbox ... (70 actions running)
[11,580 / 12,496] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,585 / 12,526] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,590 / 12,526] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,596 / 12,526] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 51s remote-cache, linux-sandbox ... (70 actions running)
[11,600 / 12,571] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,602 / 12,571] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 54s remote-cache, linux-sandbox ... (70 actions running)
[11,611 / 12,571] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 55s remote-cache, linux-sandbox ... (70 actions running)
[11,612 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 56s remote-cache, linux-sandbox ... (70 actions running)
[11,616 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 57s remote-cache, linux-sandbox ... (70 actions running)
[11,620 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 58s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,622 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 60s remote-cache, linux-sandbox ... (70 actions running)
[11,627 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,627 / 12,571] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 64s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,627 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,642 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,642 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 68s remote-cache, linux-sandbox ... (70 actions running)
[11,649 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,653 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,658 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,660 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,662 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 74s remote-cache, linux-sandbox ... (70 actions running)
[11,665 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 75s remote-cache, linux-sandbox ... (70 actions running)
[11,667 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,669 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 78s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,672 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,680 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 80s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,681 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 81s remote-cache, linux-sandbox ... (70 actions running)
[11,684 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 82s remote-cache, linux-sandbox ... (70 actions running)
[11,685 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 84s remote-cache, linux-sandbox ... (70 actions running)
[11,688 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (70 actions running)
[11,688 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 86s remote-cache, linux-sandbox ... (70 actions running)
[11,696 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,699 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 89s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,707 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 90s remote-cache, linux-sandbox ... (70 actions running)
[11,710 / 12,571] 256 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 91s remote-cache, linux-sandbox ... (70 actions running)
[11,712 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,719 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,723 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,726 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 96s remote-cache, linux-sandbox ... (70 actions running)
[11,726 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 97s remote-cache, linux-sandbox ... (70 actions running)
[11,730 / 12,571] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (70 actions running)
[11,739 / 12,571] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 99s remote-cache, linux-sandbox ... (70 actions running)
[11,743 / 12,571] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 100s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,747 / 12,571] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 101s remote-cache, linux-sandbox ... (70 actions running)
[11,747 / 12,571] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 103s remote-cache, linux-sandbox ... (70 actions running)
[11,749 / 12,571] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 104s remote-cache, linux-sandbox ... (70 actions running)
[11,750 / 12,571] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 105s remote-cache, linux-sandbox ... (68 actions running)
[11,753 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 106s remote-cache, linux-sandbox ... (70 actions running)
[11,755 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 107s remote-cache, linux-sandbox ... (70 actions running)
[11,756 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 109s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,757 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 110s remote-cache, linux-sandbox ... (70 actions running)
[11,758 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 111s remote-cache, linux-sandbox ... (70 actions running)
[11,759 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 112s remote-cache, linux-sandbox ... (70 actions running)
[11,759 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 114s remote-cache, linux-sandbox ... (70 actions running)
[11,761 / 12,622] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 116s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,765 / 12,624] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 117s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,767 / 12,624] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 118s remote-cache, linux-sandbox ... (70 actions running)
[11,768 / 12,624] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 119s remote-cache, linux-sandbox ... (68 actions running)
[11,770 / 12,630] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 120s remote-cache, linux-sandbox ... (70 actions running)
[11,770 / 12,630] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 122s remote-cache, linux-sandbox ... (70 actions running)
[11,773 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 123s remote-cache, linux-sandbox ... (70 actions running)
[11,774 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 125s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,774 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 126s remote-cache, linux-sandbox ... (70 actions running)
[11,776 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 127s remote-cache, linux-sandbox ... (70 actions running)
[11,778 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 128s remote-cache, linux-sandbox ... (70 actions running)
[11,778 / 12,630] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 129s remote-cache, linux-sandbox ... (70 actions running)
[11,781 / 12,630] 261 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 73s remote-cache, linux-sandbox ... (70 actions running)
[11,782 / 12,630] 261 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,783 / 12,630] 261 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,786 / 12,630] 261 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 17 of 22); 49s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,786 / 12,630] 261 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 17 of 22); 50s remote-cache, linux-sandbox ... (70 actions running)
[11,787 / 12,630] 261 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 17 of 22); 51s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,788 / 12,630] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 37 of 50); 49s remote-cache, linux-sandbox ... (70 actions running)
[11,788 / 12,630] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 37 of 50); 50s remote-cache, linux-sandbox ... (70 actions running)
[11,789 / 12,630] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 37 of 50); 52s remote-cache, linux-sandbox ... (70 actions running)
[11,790 / 12,630] 261 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,791 / 12,630] 261 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 53s remote-cache, linux-sandbox ... (70 actions running)
[11,792 / 12,630] 261 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 54s remote-cache, linux-sandbox ... (70 actions running)
[11,793 / 12,630] 261 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 55s remote-cache, linux-sandbox ... (70 actions running)
[11,793 / 12,630] 261 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 6 of 50); 56s remote-cache, linux-sandbox ... (70 actions running)
[11,795 / 12,630] 261 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 10 of 11); 56s remote-cache, linux-sandbox ... (70 actions running)
[11,797 / 12,630] 261 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 10 of 11); 57s remote-cache, linux-sandbox ... (70 actions running)
[11,799 / 12,632] 261 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 10 of 11); 58s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,802 / 12,632] 261 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 10 of 11); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,805 / 12,632] 261 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,806 / 12,632] 261 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 59s remote-cache, linux-sandbox ... (70 actions running)
[11,809 / 12,632] 261 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,811 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 59s remote-cache, linux-sandbox ... (70 actions running)
[11,812 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 60s remote-cache, linux-sandbox ... (70 actions running)
[11,814 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 61s remote-cache, linux-sandbox ... (70 actions running)
[11,814 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 63s remote-cache, linux-sandbox ... (70 actions running)
[11,816 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 64s remote-cache, linux-sandbox ... (70 actions running)
[11,816 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,817 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 66s remote-cache, linux-sandbox ... (70 actions running)
[11,819 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 67s remote-cache, linux-sandbox ... (70 actions running)
[11,819 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 68s remote-cache, linux-sandbox ... (70 actions running)
[11,820 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,821 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 70s remote-cache, linux-sandbox ... (70 actions running)
[11,822 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,823 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,824 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 74s remote-cache, linux-sandbox ... (70 actions running)
[11,826 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 75s remote-cache, linux-sandbox ... (70 actions running)
[11,829 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,830 / 12,632] 261 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 78s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,834 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 79s remote-cache, linux-sandbox ... (69 actions running)
[11,834 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 80s remote-cache, linux-sandbox ... (70 actions running)
[11,834 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 83s remote-cache, linux-sandbox ... (70 actions running)
[11,835 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 85s remote-cache, linux-sandbox ... (70 actions running)
[11,835 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 86s remote-cache, linux-sandbox ... (70 actions running)
[11,836 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 87s remote-cache, linux-sandbox ... (70 actions running)
[11,837 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 89s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,837 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 90s remote-cache, linux-sandbox ... (70 actions running)
[11,838 / 12,632] 262 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 11 of 12); 91s remote-cache, linux-sandbox ... (70 actions running)
[11,839 / 12,632] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 91s remote-cache, linux-sandbox ... (70 actions running)
[11,840 / 12,632] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 93s remote-cache, linux-sandbox ... (70 actions running)
[11,841 / 12,632] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 94s remote-cache, linux-sandbox ... (70 actions running)
[11,842 / 12,632] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 95s remote-cache, linux-sandbox ... (70 actions running)
[11,844 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 96s remote-cache, linux-sandbox ... (70 actions running)
[11,846 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,848 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 99s remote-cache, linux-sandbox ... (70 actions running)
[11,848 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 101s remote-cache, linux-sandbox ... (70 actions running)
[11,849 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 103s remote-cache, linux-sandbox ... (70 actions running)
[11,851 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,853 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 106s remote-cache, linux-sandbox ... (70 actions running)
[11,854 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,858 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 109s remote-cache, linux-sandbox ... (68 actions, 66 running)
[11,862 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 110s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,865 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 111s remote-cache, linux-sandbox ... (70 actions running)
[11,865 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 112s remote-cache, linux-sandbox ... (70 actions running)
[11,866 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 113s remote-cache, linux-sandbox ... (70 actions running)
[11,867 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 115s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,870 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,873 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,874 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 118s remote-cache, linux-sandbox ... (70 actions running)
[11,877 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 119s remote-cache, linux-sandbox ... (70 actions running)
[11,878 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 120s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,879 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,882 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 123s remote-cache, linux-sandbox ... (70 actions running)
[11,884 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 124s remote-cache, linux-sandbox ... (70 actions running)
[11,886 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 125s remote-cache, linux-sandbox ... (70 actions running)
[11,887 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 126s remote-cache, linux-sandbox ... (70 actions running)
[11,890 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 127s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,891 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,892 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 130s remote-cache, linux-sandbox ... (70 actions running)
[11,894 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 132s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,897 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 133s remote-cache, linux-sandbox ... (70 actions running)
[11,899 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 135s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,903 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 136s remote-cache, linux-sandbox ... (70 actions running)
[11,905 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 137s remote-cache, linux-sandbox ... (70 actions running)
[11,906 / 12,645] 262 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 139s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,906 / 12,645] 263 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 140s remote-cache, linux-sandbox ... (70 actions running)
[11,908 / 12,645] 263 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 141s remote-cache, linux-sandbox ... (70 actions running)
[11,910 / 12,645] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 142s remote-cache, linux-sandbox ... (70 actions running)
[11,910 / 12,645] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 145s remote-cache, linux-sandbox ... (70 actions running)
[11,913 / 12,645] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 146s remote-cache, linux-sandbox ... (70 actions running)
[11,914 / 12,645] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 147s remote-cache, linux-sandbox ... (70 actions running)
[11,915 / 12,645] 265 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 149s remote-cache, linux-sandbox ... (70 actions running)
[11,917 / 12,645] 265 / 411 tests; Testing //pkg/timer:timer_test (shard 2 of 6); 61s remote-cache, linux-sandbox ... (70 actions running)
[11,919 / 12,645] 265 / 411 tests; Testing //pkg/timer:timer_test (shard 2 of 6); 62s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,919 / 12,645] 265 / 411 tests; Testing //pkg/timer:timer_test (shard 2 of 6); 63s remote-cache, linux-sandbox ... (70 actions running)
[11,922 / 12,645] 265 / 411 tests; Testing //pkg/timer:timer_test (shard 2 of 6); 64s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,924 / 12,645] 265 / 411 tests; Testing //pkg/timer:timer_test (shard 2 of 6); 65s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,926 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,926 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 67s remote-cache, linux-sandbox ... (70 actions running)
[11,928 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,929 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 70s remote-cache, linux-sandbox ... (70 actions running)
[11,929 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 71s remote-cache, linux-sandbox ... (70 actions running)
[11,930 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,937 / 12,645] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,945 / 12,665] 265 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 75s remote-cache, linux-sandbox ... (70 actions running)
[11,949 / 12,665] 266 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,952 / 12,665] 266 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 10 of 12); 78s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,953 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 65s remote-cache, linux-sandbox ... (70 actions running)
[11,955 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 66s remote-cache, linux-sandbox ... (70 actions running)
[11,956 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,958 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 69s remote-cache, linux-sandbox ... (70 actions running)
[11,958 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 70s remote-cache, linux-sandbox ... (70 actions running)
[11,961 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 72s remote-cache, linux-sandbox ... (70 actions running)
[11,961 / 12,665] 266 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 10 of 50); 73s remote-cache, linux-sandbox ... (70 actions running)
[11,965 / 12,665] 266 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 71s remote-cache, linux-sandbox ... (70 actions running)
[11,965 / 12,665] 266 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 72s remote-cache, linux-sandbox ... (70 actions running)
[11,968 / 12,665] 266 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,971 / 12,689] 266 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 2 of 5); 75s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,974 / 12,695] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,976 / 12,695] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 76s remote-cache, linux-sandbox ... (70 actions running)
[11,977 / 12,695] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,982 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,987 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,989 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 81s remote-cache, linux-sandbox ... (70 actions running)
[11,992 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 82s remote-cache, linux-sandbox ... (70 actions running)
[11,995 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,996 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,998 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running)
[11,999 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 87s remote-cache, linux-sandbox ... (70 actions running)
[12,002 / 12,695] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 88s remote-cache, linux-sandbox ... (70 actions running)
[12,007 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 89s remote-cache, linux-sandbox ... (70 actions running)
[12,009 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 90s remote-cache, linux-sandbox ... (70 actions running)
[12,011 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,017 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,019 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 94s remote-cache, linux-sandbox ... (70 actions running)
[12,021 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,024 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 96s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,027 / 12,702] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 97s remote-cache, linux-sandbox ... (70 actions running)
[12,029 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,033 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,034 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,037 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,038 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 103s remote-cache, linux-sandbox ... (70 actions running)
[12,038 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 104s remote-cache, linux-sandbox ... (70 actions running)
[12,042 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 105s remote-cache, linux-sandbox ... (70 actions running)
[12,044 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 106s remote-cache, linux-sandbox ... (70 actions running)
[12,046 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 107s remote-cache, linux-sandbox ... (70 actions running)
[12,046 / 12,714] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 108s remote-cache, linux-sandbox ... (70 actions running)
[12,052 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 109s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,055 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,058 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 112s remote-cache, linux-sandbox ... (70 actions running)
[12,059 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 114s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,065 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 115s remote-cache, linux-sandbox ... (69 actions running)
[12,069 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,074 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,079 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 118s remote-cache, linux-sandbox ... (70 actions running)
[12,080 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 119s remote-cache, linux-sandbox ... (70 actions running)
[12,080 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 120s remote-cache, linux-sandbox ... (70 actions running)
[12,084 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 121s remote-cache, linux-sandbox ... (70 actions running)
[12,086 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,089 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 124s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,089 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 125s remote-cache, linux-sandbox ... (70 actions running)
[12,090 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 126s remote-cache, linux-sandbox ... (70 actions running)
[12,092 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 127s remote-cache, linux-sandbox ... (69 actions running)
[12,094 / 12,714] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,102 / 12,716] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 130s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,104 / 12,716] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 131s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,106 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 132s remote-cache, linux-sandbox ... (70 actions running)
[12,107 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 134s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,108 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 135s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,110 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 136s remote-cache, linux-sandbox ... (70 actions running)
FAIL: //pkg/ddl:ddl_test (shard 39 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_39_of_50/test_attempts/attempt_1.log)
[12,110 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 137s remote-cache, linux-sandbox ... (70 actions running)
[12,112 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 139s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,115 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 140s remote-cache, linux-sandbox ... (70 actions running)
[12,120 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 142s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,122 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 143s remote-cache, linux-sandbox ... (70 actions running)
[12,122 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 145s remote-cache, linux-sandbox ... (70 actions running)
[12,122 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 146s remote-cache, linux-sandbox ... (70 actions running)
[12,123 / 12,716] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 147s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,127 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 148s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,128 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 150s remote-cache, linux-sandbox ... (70 actions running)
[12,133 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 151s remote-cache, linux-sandbox ... (70 actions running)
[12,133 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 152s remote-cache, linux-sandbox ... (70 actions running)
[12,137 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 153s remote-cache, linux-sandbox ... (70 actions running)
[12,138 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 154s remote-cache, linux-sandbox ... (70 actions running)
[12,140 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 155s remote-cache, linux-sandbox ... (70 actions running)
[12,141 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 156s remote-cache, linux-sandbox ... (70 actions running)
[12,144 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 157s remote-cache, linux-sandbox ... (70 actions running)
[12,145 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 158s remote-cache, linux-sandbox ... (70 actions running)
[12,146 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 159s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,148 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 161s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,151 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 162s remote-cache, linux-sandbox ... (70 actions running)
INFO: From Testing //pkg/ddl:ddl_test (shard 39 of 50):
==================== Test output for //pkg/ddl:ddl_test (shard 39 of 50):
=== RUN   TestWriteDataWriteOnlyMode
[2024/05/06 09:48:41.114 +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 09:48:41.115 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.115 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.116 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.116 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.117 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.119 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a04fcd61-a051-4cbe-9a44-6a2ae1a28fe8] ["ddl lease"=600ms] ["stats lease"=-1ns]
[2024/05/06 09:48:41.131 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:41.131 +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 09:48:41.131 +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.TestWriteDataWriteOnlyMode\n\tpkg/ddl/column_test.go:915\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:41.135 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.46163ms]
[2024/05/06 09:48:41.135 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:41.135 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=a7b44bbf-f2ff-4f02-92c3-19eb9e4dc783] [runWorker=true]
[2024/05/06 09:48:41.135 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:41.135 +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 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:41.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:41.135 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:41.136 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:41.136 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:41.136 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:41.136 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:41.137 +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 09:48:41.142 +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 09:48:41.14 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.142 +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 09:48:41.14 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:41.190 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:41.190 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:41.199 +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 09:48:41.14 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.211 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.198833ms]
[2024/05/06 09:48:41.211 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:41.213 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:41.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=1] ["take time"=6.655994ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:41.14 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.221 +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 09:48:41.14 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.226 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:41.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.226 +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 09:48:41.227 +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 09:48:41.234 +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 09:48:41.229 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.234 +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 09:48:41.229 +0000 UTC, Err:<nil>, 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 09:48:41.239 +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 09:48:41.229 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.248 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=701.396ยตs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.249 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:41.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=2.247668ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.229 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.255 +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 09:48:41.229 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.262 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:41.262 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.263 +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 09:48:41.269 +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 09:48:41.268 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.269 +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 09:48:41.268 +0000 UTC, Err:<nil>, 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 09:48:41.276 +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 09:48:41.268 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.280 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=253.958ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.281 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.281 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:41.284 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.206048ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.268 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.301 +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 09:48:41.268 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.306 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:41.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.307 +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 09:48:41.310 +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 09:48:41.309 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.310 +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 09:48:41.309 +0000 UTC, Err:<nil>, 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 09:48:41.321 +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 09:48:41.309 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.325 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=222.114ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.326 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:41.328 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=3.295257ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.309 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.334 +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 09:48:41.309 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:41.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.338 +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 09:48:41.342 +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 09:48:41.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.342 +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 09:48:41.339 +0000 UTC, Err:<nil>, 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 09:48:41.360 +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 09:48:41.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.366 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=942.11ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.368 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.368 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:41.368 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.878881ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.378 +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 09:48:41.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.415 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:41.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.416 +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 09:48:41.426 +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 09:48:41.424 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.426 +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 09:48:41.424 +0000 UTC, Err:<nil>, 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 09:48:41.450 +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 09:48:41.424 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.471 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=421.775ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.472 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.472 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:41.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=6] ["take time"=9.864847ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.424 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.489 +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 09:48:41.424 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.493 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:41.493 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.494 +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 09:48:41.499 +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 09:48:41.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.500 +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 09:48:41.496 +0000 UTC, Err:<nil>, 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 09:48:41.508 +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 09:48:41.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=345.196ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.513 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:41.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=7] ["take time"=3.06141ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.523 +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 09:48:41.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.528 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:41.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.528 +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 09:48:41.546 +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 09:48:41.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.546 +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 09:48:41.534 +0000 UTC, Err:<nil>, 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 09:48:41.560 +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 09:48:41.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.573 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=262.115ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.575 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.575 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:41.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=8] ["take time"=2.575368ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.590 +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 09:48:41.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.594 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:41.594 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.594 +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 09:48:41.597 +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 09:48:41.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.597 +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 09:48:41.596 +0000 UTC, Err:<nil>, 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 09:48:41.616 +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 09:48:41.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=266.422ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.620 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.620 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:41.627 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=7.952323ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.634 +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 09:48:41.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.639 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:41.639 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.640 +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 09:48:41.648 +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 09:48:41.646 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.648 +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 09:48:41.646 +0000 UTC, Err:<nil>, 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 09:48:41.657 +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 09:48:41.646 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.661 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=335.999ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.663 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.663 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:41.663 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.014768ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.646 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.670 +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 09:48:41.646 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.677 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:41.677 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.680 +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 09:48:41.684 +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 09:48:41.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.684 +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 09:48:41.682 +0000 UTC, Err:<nil>, 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 09:48:41.693 +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 09:48:41.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.699 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=336.131ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.700 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:41.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=11] ["take time"=2.130023ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.710 +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 09:48:41.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.722 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:41.722 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.722 +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 09:48:41.722 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:41.728 +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 09:48:41.725 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.728 +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 09:48:41.725 +0000 UTC, Err:<nil>, 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 09:48:41.740 +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 09:48:41.725 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.745 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=443.373ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.747 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48:41.747 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.537498ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.725 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.755 +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 09:48:41.725 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.760 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:41.760 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.761 +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 09:48:41.766 +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 09:48:41.764 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.766 +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 09:48:41.764 +0000 UTC, Err:<nil>, 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 09:48:41.774 +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 09:48:41.764 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.779 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=413.766ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.780 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.780 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:41.780 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.023474ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.764 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.809 +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 09:48:41.764 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.814 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:41.814 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.814 +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 09:48:41.818 +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 09:48:41.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.818 +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 09:48:41.816 +0000 UTC, Err:<nil>, 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 09:48:41.829 +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 09:48:41.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.836 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=335.444ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:41.840 +00:00] [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.255643ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.852 +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 09:48:41.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.859 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:48:41.859 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.860 +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 09:48:41.864 +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 09:48:41.862 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.864 +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 09:48:41.862 +0000 UTC, Err:<nil>, 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 09:48:41.873 +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 09:48:41.862 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=334.742ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.878 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.878 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:48:41.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=15] ["take time"=8.079153ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.862 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.905 +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 09:48:41.862 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.911 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:48:41.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.911 +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 09:48:41.914 +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 09:48:41.913 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.914 +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 09:48:41.913 +0000 UTC, Err:<nil>, 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 09:48:41.946 +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 09:48:41.913 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.949 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=276.848ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.950 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.950 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:48:41.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=16] ["take time"=2.394526ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.913 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.960 +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 09:48:41.913 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.965 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:48:41.965 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:41.966 +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 09:48:41.969 +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 09:48:41.967 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:41.969 +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 09:48:41.967 +0000 UTC, Err:<nil>, 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 09:48:41.981 +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 09:48:41.967 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=310.132ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:41.987 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:41.987 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:48:41.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=17] ["take time"=4.547769ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:41.967 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:41.998 +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 09:48:41.967 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.005 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:48:42.005 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.005 +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 09:48:42.014 +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 09:48:42.009 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.014 +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 09:48:42.009 +0000 UTC, Err:<nil>, 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 09:48:42.027 +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 09:48:42.009 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.034 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=301.005ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.039 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:48:42.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=18] ["take time"=9.164492ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.009 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.061 +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 09:48:42.009 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.078 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:48:42.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.079 +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 09:48:42.084 +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 09:48:42.081 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.084 +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 09:48:42.081 +0000 UTC, Err:<nil>, 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 09:48:42.097 +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 09:48:42.081 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.105 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=481.264ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.107 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.107 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:48:42.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=19] ["take time"=8.125496ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.081 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.119 +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 09:48:42.081 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.125 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:48:42.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.133 +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 09:48:42.141 +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 09:48:42.145 +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 09:48:42.135 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.145 +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 09:48:42.135 +0000 UTC, Err:<nil>, 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 09:48:42.152 +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 09:48:42.135 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.166 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=340.784ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.168 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.168 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:48:42.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=20] ["take time"=10.890119ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.135 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.183 +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 09:48:42.135 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.199 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:48:42.199 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.199 +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 09:48:42.211 +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 09:48:42.209 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.211 +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 09:48:42.209 +0000 UTC, Err:<nil>, 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 09:48:42.218 +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 09:48:42.209 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.222 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=271.097ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.223 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:48:42.225 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=3.860578ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.209 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.240 +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 09:48:42.209 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.245 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:48:42.245 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.246 +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 09:48:42.249 +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 09:48:42.248 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.249 +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 09:48:42.248 +0000 UTC, Err:<nil>, 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 09:48:42.254 +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 09:48:42.248 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=221.513ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.258 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:48:42.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=22] ["take time"=2.129307ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.248 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.278 +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 09:48:42.248 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.282 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:48:42.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.282 +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 09:48:42.285 +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 09:48:42.284 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.285 +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 09:48:42.284 +0000 UTC, Err:<nil>, 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 09:48:42.295 +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 09:48:42.284 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=387.945ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.300 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.300 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:48:42.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.996848ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.284 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.311 +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 09:48:42.284 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.317 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:48:42.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.317 +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 09:48:42.330 +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 09:48:42.328 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.330 +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 09:48:42.328 +0000 UTC, Err:<nil>, 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 09:48:42.338 +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 09:48:42.328 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=280.922ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.342 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.343 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:48:42.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=24] ["take time"=7.387203ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.328 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.356 +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 09:48:42.328 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.359 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:48:42.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.360 +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 09:48:42.364 +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 09:48:42.362 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.365 +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 09:48:42.362 +0000 UTC, Err:<nil>, 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 09:48:42.371 +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 09:48:42.362 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.376 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=286.807ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.377 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.378 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:48:42.380 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=3.654818ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.362 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.385 +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 09:48:42.362 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.388 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:48:42.388 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.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 09:48:42.393 +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 09:48:42.392 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.394 +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 09:48:42.392 +0000 UTC, Err:<nil>, 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 09:48:42.402 +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 09:48:42.392 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=278.707ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.408 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:48:42.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=26] ["take time"=2.854935ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.392 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.415 +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 09:48:42.392 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.420 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:48:42.420 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.421 +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 09:48:42.423 +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 09:48:42.422 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.423 +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 09:48:42.422 +0000 UTC, Err:<nil>, 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 09:48:42.434 +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 09:48:42.422 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=302.582ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.440 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.440 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:48:42.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=27] ["take time"=2.073231ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.422 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.456 +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 09:48:42.422 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.461 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:48:42.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.462 +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 09:48:42.466 +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 09:48:42.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.466 +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 09:48:42.464 +0000 UTC, Err:<nil>, 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 09:48:42.474 +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 09:48:42.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.477 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=257.849ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.479 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:48:42.479 +00:00] [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.430044ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.488 +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 09:48:42.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.498 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:48:42.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.499 +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 09:48:42.499 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:42.506 +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 09:48:42.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.506 +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 09:48:42.504 +0000 UTC, Err:<nil>, 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 09:48:42.536 +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 09:48:42.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=318.872ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.546 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.546 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:48:42.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=29] ["take time"=4.309018ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.564 +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 09:48:42.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.568 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:48:42.568 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.568 +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 09:48:42.576 +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 09:48:42.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.576 +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 09:48:42.574 +0000 UTC, Err:<nil>, 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 09:48:42.585 +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 09:48:42.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.589 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=348.763ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.590 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.590 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:48:42.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=30] ["take time"=2.465369ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.603 +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 09:48:42.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.608 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:48:42.608 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.609 +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 09:48:42.612 +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 09:48:42.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.613 +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 09:48:42.61 +0000 UTC, Err:<nil>, 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 09:48:42.622 +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 09:48:42.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=364.427ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.634 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:48:42.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.009942ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.642 +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 09:48:42.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.646 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:48:42.646 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.646 +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 09:48:42.650 +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 09:48:42.648 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.650 +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 09:48:42.648 +0000 UTC, Err:<nil>, 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 09:48:42.660 +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 09:48:42.648 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.665 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=455.386ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.666 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.666 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:48:42.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=32] ["take time"=2.848231ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.648 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.674 +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 09:48:42.648 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.680 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:48:42.680 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.681 +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 09:48:42.685 +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 09:48:42.683 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.685 +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 09:48:42.683 +0000 UTC, Err:<nil>, 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 09:48:42.691 +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 09:48:42.683 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.702 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=200.423ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.704 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.704 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:48:42.706 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=3.875791ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.683 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.722 +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 09:48:42.683 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.727 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:48:42.727 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.732 +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 09:48:42.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.732 +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 09:48:42.73 +0000 UTC, Err:<nil>, 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 09:48:42.742 +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 09:48:42.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.746 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=313.582ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:42.747 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:48:42.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=34] ["take time"=2.635936ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:42.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.756 +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 09:48:42.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.765 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:48:42.765 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.766 +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 09:48:42.772 +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 09:48:42.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.772 +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 09:48:42.77 +0000 UTC, Err:<nil>, 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 09:48:42.790 +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 09:48:42.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=347.278ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.806 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:48:42.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=35] ["take time"=5.88482ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.825 +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 09:48:42.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:48:42.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.833 +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 09:48:42.839 +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 09:48:42.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.839 +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 09:48:42.838 +0000 UTC, Err:<nil>, 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 09:48:42.848 +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 09:48:42.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=249.389ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.862 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:48:42.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=36] ["take time"=7.288582ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.880 +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 09:48:42.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.887 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:48:42.887 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.887 +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 09:48:42.891 +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 09:48:42.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.905 +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 09:48:42.889 +0000 UTC, Err:<nil>, 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 09:48:42.916 +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 09:48:42.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.925 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=330.106ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.926 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.926 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:48:42.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=37] ["take time"=3.023639ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.934 +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 09:48:42.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.941 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:48:42.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.942 +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 09:48:42.950 +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 09:48:42.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.950 +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 09:48:42.944 +0000 UTC, Err:<nil>, 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 09:48:42.964 +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 09:48:42.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.969 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=533.402ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:42.970 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:42.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:48:42.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.038694ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.978 +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 09:48:42.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.984 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:48:42.984 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:42.985 +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 09:48:42.989 +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 09:48:42.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:42.989 +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 09:48:42.987 +0000 UTC, Err:<nil>, 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 09:48:42.994 +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 09:48:42.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:42.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=521.359ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.000 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:48:43.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=39] ["take time"=2.030947ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:42.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.011 +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 09:48:42.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.016 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:48:43.016 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.016 +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 09:48:43.020 +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 09:48:43.018 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.020 +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 09:48:43.018 +0000 UTC, Err:<nil>, 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 09:48:43.031 +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 09:48:43.018 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=607.578ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.038 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:48:43.041 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=5.617984ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.018 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.053 +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 09:48:43.018 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.060 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:48:43.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.061 +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 09:48:43.064 +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 09:48:43.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.064 +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 09:48:43.062 +0000 UTC, Err:<nil>, 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 09:48:43.074 +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 09:48:43.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.081 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=476.878ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.082 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.082 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:48:43.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=41] ["take time"=2.017186ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.094 +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 09:48:43.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.098 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:48:43.098 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.099 +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 09:48:43.110 +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 09:48:43.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.110 +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 09:48:43.101 +0000 UTC, Err:<nil>, 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 09:48:43.134 +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 09:48:43.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.138 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:48:43.151 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=959.429ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.152 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.152 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:48:43.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=42] ["take time"=8.788058ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.166 +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 09:48:43.101 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.172 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:48:43.172 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.172 +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 09:48:43.177 +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 09:48:43.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.177 +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 09:48:43.175 +0000 UTC, Err:<nil>, 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 09:48:43.187 +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 09:48:43.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.192 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=536.711ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.194 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.194 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:48:43.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=43] ["take time"=5.059801ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.222 +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 09:48:43.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.231 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:48:43.231 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.232 +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 09:48:43.241 +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 09:48:43.234 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.241 +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 09:48:43.234 +0000 UTC, Err:<nil>, 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 09:48:43.260 +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 09:48:43.234 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.268 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=413.64ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.269 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.269 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:48:43.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=44] ["take time"=5.73925ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.234 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.279 +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 09:48:43.234 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.284 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:48:43.284 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.284 +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 09:48:43.311 +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 09:48:43.286 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.311 +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 09:48:43.286 +0000 UTC, Err:<nil>, 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 09:48:43.327 +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 09:48:43.286 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=315.763ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.332 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:48:43.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=45] ["take time"=15.852711ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.286 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.385 +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 09:48:43.286 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.390 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:48:43.390 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.391 +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 09:48:43.411 +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 09:48:43.4 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.411 +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 09:48:43.4 +0000 UTC, Err:<nil>, 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 09:48:43.428 +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 09:48:43.4 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.452 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=1.054879ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.454 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.454 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:48:43.458 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=7.64289ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.4 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.477 +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 09:48:43.4 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.484 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:48:43.484 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.485 +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 09:48:43.489 +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 09:48:43.487 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.489 +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 09:48:43.487 +0000 UTC, Err:<nil>, 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 09:48:43.497 +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 09:48:43.487 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.509 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=331.348ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.510 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.510 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:48:43.512 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.97927ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.487 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.521 +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 09:48:43.487 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.528 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:48:43.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.528 +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 09:48:43.532 +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 09:48:43.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.532 +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 09:48:43.531 +0000 UTC, Err:<nil>, 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 09:48:43.544 +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 09:48:43.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.547 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=295.464ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.549 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.549 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:48:43.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=48] ["take time"=2.982693ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.556 +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 09:48:43.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.560 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:48:43.561 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.561 +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 09:48:43.567 +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 09:48:43.563 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.567 +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 09:48:43.563 +0000 UTC, Err:<nil>, 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 09:48:43.577 +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 09:48:43.563 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=286.253ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:43.582 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.582 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:48:43.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=49] ["take time"=3.535709ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.563 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.589 +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 09:48:43.563 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.595 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:48:43.595 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.595 +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 09:48:43.598 +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 09:48:43.597 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.598 +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 09:48:43.597 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:48:43.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 09:48:43.597 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.610 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=76.817ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:43.611 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:48:43.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.7201ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:43.597 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.622 +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 09:48:43.597 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.626 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:48:43.626 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.630 +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 09:48:43.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.630 +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 09:48:43.628 +0000 UTC, Err:<nil>, 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 09:48:43.639 +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 09:48:43.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.643 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=228.392ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:43.644 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:43.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:48:43.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=51] ["take time"=2.014993ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:43.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.654 +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 09:48:43.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.659 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:48:43.659 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.735 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.599531409s]
[2024/05/06 09:48:43.736 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a7b44bbf-f2ff-4f02-92c3-19eb9e4dc783] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=2.601ยตs]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.405ยตs]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.636ยตs]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.29ยตs]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.112ยตs]
[2024/05/06 09:48:43.736 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:43.736 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:43.736 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:43.739 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=a7b44bbf-f2ff-4f02-92c3-19eb9e4dc783] ["take time"=3.424946ms]
[2024/05/06 09:48:43.739 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=a7b44bbf-f2ff-4f02-92c3-19eb9e4dc783]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:43.739 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:43.739 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.793532ms]
[2024/05/06 09:48:43.739 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a04fcd61-a051-4cbe-9a44-6a2ae1a28fe8] ["ddl lease"=600ms] ["stats lease"=-1ns]
[2024/05/06 09:48:43.746 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:43.746 +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 09:48:43.758 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=11.880159ms]
[2024/05/06 09:48:43.759 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:43.759 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb] [runWorker=true]
[2024/05/06 09:48:43.759 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:43.759 +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 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:43.759 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:43.759 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:43.759 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:43.760 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:43.760 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:43.760 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:43.760 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:43.762 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:43.762 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:48:43.765 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true]
[2024/05/06 09:48:43.766 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:43.777 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:43.780 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:43.782 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:43.783 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:43.783 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:43.783 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:43.784 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:48:43.784 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:48:43.785 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4]
[2024/05/06 09:48:43.785 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4]
[2024/05/06 09:48:43.793 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:43.793 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:48:43.793 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:48:43.798 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:43.802 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:43.818 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t (`col1` bigint(20) DEFAULT 1,`col2` float,UNIQUE KEY `key1` (`col1`))"] [user=]
[2024/05/06 09:48:43.821 +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 09:48:43.82 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:43.821 +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 09:48:43.82 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t (`col1` bigint(20) DEFAULT 1,`col2` float,UNIQUE KEY `key1` (`col1`))"]
[2024/05/06 09:48:43.828 +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 09:48:43.82 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.830 +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 09:48:43.879 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=48.369803ms]
[2024/05/06 09:48:43.884 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:43.886 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:48:43.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=52] ["take time"=56.282039ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.82 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.901 +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 09:48:43.82 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:43.904 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:48:43.904 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:43.905 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table t change column `col1` `col1` varchar(20)"] [user=]
[2024/05/06 09:48:43.912 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:43.912 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t change column `col1` `col1` varchar(20)"]
[2024/05/06 09:48:43.920 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.920 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=106] [conn=1] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.921 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.924 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=311.681ยตs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:43.926 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53]
[2024/05/06 09:48:43.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=53] ["take time"=4.846276ms] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.930 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.937 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=106] [conn=1] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.938 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=271.473ยตs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:43.941 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54]
[2024/05/06 09:48:43.947 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=7.179044ms] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.948 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.954 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=106] [conn=1] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.957 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.959 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=343.642ยตs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:43.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55]
[2024/05/06 09:48:43.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=55] ["take time"=4.54172ms] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.968 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.976 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.976 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=106] [conn=1] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.977 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:43.980 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.989 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:43.989 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.996 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.996 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=106] [conn=1] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:43.999 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000200,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000200] ["current end key"=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.000 +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, 7480000000000000685f72800000000000000200), jobID: 106"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f7280000000000000020000] ["take time"=141.337ยตs]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106]
[2024/05/06 09:48:44.000 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_col_] ["total added count"=0] ["start key"=7480000000000000685f728000000000000001]
[2024/05/06 09:48:44.017 +00:00] [INFO] [column.go:1181] ["update column and indexes"] [category=ddl] ["job ID"=106] [element=ID:2,TypeKey:_idx_] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.017 +00:00] [INFO] [index.go:1931] ["start to add table index"] [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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000200,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:44.018 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.018 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.018 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000200] ["current end key"=7480000000000000685f72800000000000000200]
[2024/05/06 09:48:44.018 +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, 7480000000000000685f72800000000000000200), jobID: 106"] ["added count"=0] ["scan count"=2] ["next key"=7480000000000000685f72800000000000000200] ["take time"=191.424ยตs]
[2024/05/06 09:48:44.019 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106]
[2024/05/06 09:48:44.019 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106]
[2024/05/06 09:48:44.019 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106]
[2024/05/06 09:48:44.019 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106]
[2024/05/06 09:48:44.019 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=0] ["start key"=7480000000000000685f728000000000000001]
[2024/05/06 09:48:44.019 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0]
[2024/05/06 09:48:44.020 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:44.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=289.187ยตs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:44.028 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56]
[2024/05/06 09:48:44.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=56] ["take time"=10.825812ms] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:44.038 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:44.044 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[1]"] [comment="modify column: table ID"]
[2024/05/06 09:48:44.045 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"]
[2024/05/06 09:48:44.045 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=106] [conn=1] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:44.049 +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 09:48:43.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574056487026688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:44.053 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f698000000000000001] [endKey=7480000000000000685f698000000000000002]
[2024/05/06 09:48:44.053 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106]
[2024/05/06 09:48:44.053 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.053 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=56] [cur_db=test] [sql="alter table t drop column `col1`"] [user=]
[2024/05/06 09:48:44.056 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.056 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column `col1`"]
[2024/05/06 09:48:44.063 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.064 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.066 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=293.731ยตs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:48:44.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57]
[2024/05/06 09:48:44.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=57] ["take time"=4.540417ms] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.077 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.083 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.085 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.085 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=181.527ยตs] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:48:44.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=58]
[2024/05/06 09:48:44.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=58] ["take time"=2.46403ms] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.090 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.096 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.096 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.096 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.098 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=232.336ยตs] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:48:44.099 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59]
[2024/05/06 09:48:44.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=59] ["take time"=2.762144ms] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.101 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.105 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.106 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.106 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.119 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=254.719ยตs] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:48:44.121 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60]
[2024/05/06 09:48:44.125 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=5.966845ms] [job="ID:107, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.126 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.134 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=107] [tableID=104] [indexIDs="[2]"] [comment="drop column: table ID"]
[2024/05/06 09:48:44.135 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="drop column"]
[2024/05/06 09:48:44.135 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.139 +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 09:48:44.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.142 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107]
[2024/05/06 09:48:44.142 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.142 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003]
[2024/05/06 09:48:44.147 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.884ยตs]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.199ยตs]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.277ยตs]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.499ยตs]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.099ยตs]
[2024/05/06 09:48:44.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:44.147 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:44.147 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:44.148 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb] ["take time"=5.93106ms]
[2024/05/06 09:48:44.148 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb]
[2024/05/06 09:48:44.148 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:48:44.148 +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 09:48:44.148 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:44.148 +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 09:48:44.148 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:44.148 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:44.149 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d597a7fb-d149-433f-8c37-b0cca176d5eb] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:44.149 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:48:44.149 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:48:44.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:44.150 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=8.374869ms]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:48:44.161 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestWriteDataWriteOnlyMode (3.09s)
=== RUN   TestParallelAlterModifyColumn
[2024/05/06 09:48:44.169 +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 09:48:44.169 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.169 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.170 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.170 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.171 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.174 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bafc6f05-7ba2-46dd-8a50-6e8378438812] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:44.182 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:44.182 +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 09:48:44.182 +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.TestParallelAlterModifyColumn\n\tpkg/ddl/db_change_test.go:943\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:44.226 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=44.535995ms]
[2024/05/06 09:48:44.234 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:44.234 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=0dd33b9b-351c-410b-8bdb-5e735656a2fa] [runWorker=true]
[2024/05/06 09:48:44.234 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:44.234 +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 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:44.234 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:44.234 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:44.235 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:44.235 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:44.235 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:44.235 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:44.236 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:44.236 +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 09:48:44.239 +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 09:48:44.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.239 +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 09:48:44.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:44.290 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:44.290 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:44.297 +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 09:48:44.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.345 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=39.302373ms]
[2024/05/06 09:48:44.346 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:44.348 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:44.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=1] ["take time"=47.766554ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:44.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.368 +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 09:48:44.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.371 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:44.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.371 +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 09:48:44.372 +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 09:48:44.378 +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 09:48:44.374 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.378 +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 09:48:44.374 +0000 UTC, Err:<nil>, 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 09:48:44.385 +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 09:48:44.374 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.398 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=2.228855ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.403 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:44.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=8.891511ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.374 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.416 +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 09:48:44.374 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.431 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:44.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.432 +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 09:48:44.438 +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 09:48:44.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.438 +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 09:48:44.434 +0000 UTC, Err:<nil>, 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 09:48:44.445 +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 09:48:44.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=344.536ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.451 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:44.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=3] ["take time"=4.195204ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.469 +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 09:48:44.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.473 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:44.474 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.474 +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 09:48:44.489 +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 09:48:44.475 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.489 +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 09:48:44.475 +0000 UTC, Err:<nil>, 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 09:48:44.503 +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 09:48:44.475 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=309.371ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.513 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:44.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=4] ["take time"=2.060571ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.475 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.520 +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 09:48:44.475 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.525 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:44.525 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.526 +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 09:48:44.536 +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 09:48:44.532 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.536 +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 09:48:44.532 +0000 UTC, Err:<nil>, 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 09:48:44.546 +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 09:48:44.532 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=742.361ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.556 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.556 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:44.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=5] ["take time"=4.213302ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.532 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.568 +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 09:48:44.532 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:44.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.577 +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 09:48:44.586 +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 09:48:44.581 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.586 +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 09:48:44.581 +0000 UTC, Err:<nil>, 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 09:48:44.595 +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 09:48:44.581 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.600 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=440.583ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.601 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.601 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:44.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=6] ["take time"=4.337268ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.581 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.614 +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 09:48:44.581 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.620 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:44.620 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.621 +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 09:48:44.624 +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 09:48:44.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.625 +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 09:48:44.623 +0000 UTC, Err:<nil>, 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 09:48:44.637 +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 09:48:44.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=412.529ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.644 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:44.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=7] ["take time"=7.492172ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.667 +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 09:48:44.623 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.671 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:44.671 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.672 +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 09:48:44.674 +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 09:48:44.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.674 +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 09:48:44.673 +0000 UTC, Err:<nil>, 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 09:48:44.683 +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 09:48:44.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=273.816ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.689 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:44.692 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=5.184195ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.700 +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 09:48:44.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.705 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:44.705 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.705 +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 09:48:44.713 +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 09:48:44.711 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.713 +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 09:48:44.711 +0000 UTC, Err:<nil>, 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 09:48:44.722 +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 09:48:44.711 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.728 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=327.418ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.732 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.732 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:44.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=9] ["take time"=6.936264ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.711 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.754 +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 09:48:44.711 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.758 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:44.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.759 +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 09:48:44.764 +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 09:48:44.762 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.764 +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 09:48:44.762 +0000 UTC, Err:<nil>, 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 09:48:44.775 +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 09:48:44.762 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.778 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=234.7ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.780 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.780 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:44.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=10] ["take time"=6.878088ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.762 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.793 +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 09:48:44.762 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.798 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:44.799 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.799 +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 09:48:44.807 +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 09:48:44.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.807 +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 09:48:44.801 +0000 UTC, Err:<nil>, 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 09:48:44.814 +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 09:48:44.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.817 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=340.699ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.819 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:44.819 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.041945ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.827 +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 09:48:44.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:44.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.834 +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 09:48:44.834 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:44.838 +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 09:48:44.836 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.838 +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 09:48:44.836 +0000 UTC, Err:<nil>, 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 09:48:44.848 +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 09:48:44.836 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.872 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=1.26771ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.876 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.876 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48:44.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=12] ["take time"=6.096872ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.836 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.891 +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 09:48:44.836 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.897 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:44.897 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.897 +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 09:48:44.902 +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 09:48:44.899 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.902 +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 09:48:44.899 +0000 UTC, Err:<nil>, 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 09:48:44.911 +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 09:48:44.899 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.918 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=466.419ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.919 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.920 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:44.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=13] ["take time"=13.679135ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.899 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.938 +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 09:48:44.899 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.942 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:44.942 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.943 +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 09:48:44.950 +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 09:48:44.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.950 +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 09:48:44.944 +0000 UTC, Err:<nil>, 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 09:48:44.957 +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 09:48:44.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=406.578ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:44.963 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:44.963 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:44.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=14] ["take time"=9.578092ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.978 +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 09:48:44.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:44.982 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:48:44.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:44.983 +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 09:48:44.988 +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 09:48:44.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:44.988 +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 09:48:44.985 +0000 UTC, Err:<nil>, 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 09:48:44.998 +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 09:48:44.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=343.263ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.003 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:48:45.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=15] ["take time"=2.012602ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:44.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.009 +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 09:48:44.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.014 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:48:45.014 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.015 +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 09:48:45.036 +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 09:48:45.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.036 +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 09:48:45.02 +0000 UTC, Err:<nil>, 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 09:48:45.050 +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 09:48:45.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=310.861ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.056 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:48:45.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=16] ["take time"=10.85087ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.072 +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 09:48:45.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.075 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:48:45.075 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.075 +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 09:48:45.079 +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 09:48:45.077 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.079 +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 09:48:45.077 +0000 UTC, Err:<nil>, 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 09:48:45.086 +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 09:48:45.077 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.090 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=373.061ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.092 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.092 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:48:45.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=17] ["take time"=2.013931ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.077 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.099 +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 09:48:45.077 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.106 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:48:45.106 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.106 +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 09:48:45.111 +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 09:48:45.108 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.111 +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 09:48:45.108 +0000 UTC, Err:<nil>, 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 09:48:45.118 +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 09:48:45.108 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=407.197ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.127 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:48:45.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=18] ["take time"=4.360385ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.108 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.139 +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 09:48:45.108 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.143 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:48:45.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.144 +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 09:48:45.148 +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 09:48:45.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.148 +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 09:48:45.145 +0000 UTC, Err:<nil>, 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 09:48:45.156 +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 09:48:45.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=547.712ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.184 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.184 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:48:45.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=24.828149ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.204 +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 09:48:45.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.209 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:48:45.209 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.210 +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 09:48:45.214 +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 09:48:45.213 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.214 +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 09:48:45.213 +0000 UTC, Err:<nil>, 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 09:48:45.227 +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 09:48:45.213 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=356.708ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.233 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:48:45.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=20] ["take time"=2.032693ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.213 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.237 +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 09:48:45.239 +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 09:48:45.213 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.243 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:48:45.243 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.243 +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 09:48:45.246 +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 09:48:45.244 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.246 +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 09:48:45.244 +0000 UTC, Err:<nil>, 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 09:48:45.255 +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 09:48:45.244 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=255.536ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.260 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.260 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:48:45.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=21] ["take time"=2.812648ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.244 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.267 +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 09:48:45.244 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.271 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:48:45.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.272 +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 09:48:45.275 +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 09:48:45.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.275 +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 09:48:45.273 +0000 UTC, Err:<nil>, 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 09:48:45.299 +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 09:48:45.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.302 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=262.775ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.304 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.304 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:48:45.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=22] ["take time"=2.01966ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.317 +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 09:48:45.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.321 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:48:45.321 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.322 +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 09:48:45.330 +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 09:48:45.325 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.330 +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 09:48:45.325 +0000 UTC, Err:<nil>, 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 09:48:45.338 +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 09:48:45.325 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.346 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=470.375ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.348 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:48:45.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.434257ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.325 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.361 +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 09:48:45.325 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.365 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:48:45.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.366 +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 09:48:45.369 +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 09:48:45.368 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.369 +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 09:48:45.368 +0000 UTC, Err:<nil>, 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 09:48:45.378 +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 09:48:45.368 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.383 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=282.306ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.385 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.385 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:48:45.388 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.958411ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.368 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.395 +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 09:48:45.368 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.399 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:48:45.399 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.399 +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 09:48:45.403 +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 09:48:45.401 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.403 +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 09:48:45.401 +0000 UTC, Err:<nil>, 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 09:48:45.413 +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 09:48:45.401 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=417.321ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.419 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.419 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:48:45.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=25] ["take time"=4.019319ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.401 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.426 +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 09:48:45.401 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.437 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:48:45.438 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.438 +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 09:48:45.442 +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 09:48:45.44 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.442 +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 09:48:45.44 +0000 UTC, Err:<nil>, 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 09:48:45.451 +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 09:48:45.44 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.464 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=343.914ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.465 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.465 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:48:45.471 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=7.800902ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.44 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.481 +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 09:48:45.44 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.497 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:48:45.497 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.498 +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 09:48:45.501 +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 09:48:45.499 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.501 +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 09:48:45.499 +0000 UTC, Err:<nil>, 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 09:48:45.508 +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 09:48:45.499 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=305.996ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.513 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:48:45.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=27] ["take time"=2.059865ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.499 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.521 +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 09:48:45.499 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.532 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:48:45.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.533 +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 09:48:45.549 +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 09:48:45.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.549 +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 09:48:45.537 +0000 UTC, Err:<nil>, 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 09:48:45.564 +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 09:48:45.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.570 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=326.089ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.572 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.572 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:48:45.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=28] ["take time"=5.204822ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.583 +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 09:48:45.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.587 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:48:45.587 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.588 +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 09:48:45.588 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:45.591 +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 09:48:45.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.591 +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 09:48:45.589 +0000 UTC, Err:<nil>, 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 09:48:45.598 +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 09:48:45.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.611 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=387.01ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.612 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.612 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:48:45.617 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=6.888162ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.625 +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 09:48:45.589 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.630 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:48:45.630 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.631 +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 09:48:45.634 +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 09:48:45.632 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.634 +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 09:48:45.632 +0000 UTC, Err:<nil>, 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 09:48:45.643 +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 09:48:45.632 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.646 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=415.86ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.648 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.648 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:48:45.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=30] ["take time"=4.363146ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.632 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.664 +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 09:48:45.632 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.668 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:48:45.669 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.669 +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 09:48:45.678 +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 09:48:45.676 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.678 +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 09:48:45.676 +0000 UTC, Err:<nil>, 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 09:48:45.685 +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 09:48:45.676 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.694 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=476.834ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.696 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:48:45.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=31] ["take time"=6.569381ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.676 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.713 +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 09:48:45.676 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.720 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:48:45.720 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.721 +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 09:48:45.725 +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 09:48:45.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.725 +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 09:48:45.722 +0000 UTC, Err:<nil>, 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 09:48:45.731 +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 09:48:45.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=552.564ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.739 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:48:45.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=32] ["take time"=4.428086ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.752 +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 09:48:45.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.758 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:48:45.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.759 +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 09:48:45.762 +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 09:48:45.76 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.762 +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 09:48:45.76 +0000 UTC, Err:<nil>, 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 09:48:45.791 +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 09:48:45.76 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=257.343ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.797 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:48:45.799 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=3.971035ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.76 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.805 +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 09:48:45.76 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.808 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:48:45.808 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.819 +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 09:48:45.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.819 +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 09:48:45.815 +0000 UTC, Err:<nil>, 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 09:48:45.839 +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 09:48:45.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=358.953ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:45.845 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.845 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:48:45.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=34] ["take time"=2.135047ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:45.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.857 +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 09:48:45.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.863 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:48:45.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.864 +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 09:48:45.868 +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 09:48:45.867 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.869 +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 09:48:45.867 +0000 UTC, Err:<nil>, 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 09:48:45.883 +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 09:48:45.867 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.887 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=366.2ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.888 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:48:45.888 +00:00] [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.010628ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.867 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.896 +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 09:48:45.867 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.900 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:48:45.900 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.901 +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 09:48:45.904 +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 09:48:45.903 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.904 +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 09:48:45.903 +0000 UTC, Err:<nil>, 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 09:48:45.913 +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 09:48:45.903 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=309.083ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:45.917 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:45.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:48:45.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=36] ["take time"=2.381298ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.903 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.964 +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 09:48:45.903 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:45.976 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:48:45.976 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:45.977 +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 09:48:45.980 +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 09:48:45.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:45.980 +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 09:48:45.979 +0000 UTC, Err:<nil>, 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 09:48:46.003 +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 09:48:45.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.014 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=295.972ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.015 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:48:46.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=37] ["take time"=10.484586ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:45.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.030 +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 09:48:45.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.034 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:48:46.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.035 +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 09:48:46.040 +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 09:48:46.038 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.040 +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 09:48:46.038 +0000 UTC, Err:<nil>, 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 09:48:46.052 +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 09:48:46.038 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.060 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=618.592ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.075 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.075 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:48:46.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=38] ["take time"=18.564443ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.038 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.085 +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 09:48:46.038 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.090 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:48:46.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.091 +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 09:48:46.110 +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 09:48:46.093 +0000 UTC, Err:<nil>, 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 09:48:46.098 +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 09:48:46.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.120 +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 09:48:46.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=677.394ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.126 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:48:46.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=39] ["take time"=4.364022ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.162 +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 09:48:46.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.173 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:48:46.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.174 +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 09:48:46.177 +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 09:48:46.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.177 +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 09:48:46.175 +0000 UTC, Err:<nil>, 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 09:48:46.189 +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 09:48:46.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.195 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=602.977ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.196 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.196 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:48:46.217 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=23.213984ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.225 +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 09:48:46.175 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.232 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:48:46.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.232 +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 09:48:46.239 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:48:46.243 +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 09:48:46.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.243 +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 09:48:46.24 +0000 UTC, Err:<nil>, 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 09:48:46.255 +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 09:48:46.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.261 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=547.799ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.263 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:48:46.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"=6.35441ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.278 +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 09:48:46.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.283 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:48:46.283 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.284 +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 09:48:46.287 +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 09:48:46.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.287 +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 09:48:46.285 +0000 UTC, Err:<nil>, 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 09:48:46.304 +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 09:48:46.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=700.588ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.316 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:48:46.322 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=8.841529ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.334 +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 09:48:46.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.349 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:48:46.349 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.350 +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 09:48:46.363 +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 09:48:46.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.363 +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 09:48:46.361 +0000 UTC, Err:<nil>, 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 09:48:46.373 +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 09:48:46.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.378 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=566.437ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.379 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.379 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:48:46.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=43] ["take time"=5.710022ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.401 +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 09:48:46.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.407 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:48:46.407 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.407 +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 09:48:46.411 +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 09:48:46.409 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.411 +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 09:48:46.409 +0000 UTC, Err:<nil>, 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 09:48:46.422 +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 09:48:46.409 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.434 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=523.847ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.436 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.436 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:48:46.439 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=6.467764ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.409 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.447 +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 09:48:46.409 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.459 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:48:46.460 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.460 +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 09:48:46.464 +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 09:48:46.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.464 +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 09:48:46.463 +0000 UTC, Err:<nil>, 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 09:48:46.473 +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 09:48:46.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.490 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=417.547ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.491 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.491 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:48:46.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=45] ["take time"=11.035566ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.511 +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 09:48:46.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.527 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:48:46.528 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.528 +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 09:48:46.538 +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 09:48:46.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.538 +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 09:48:46.531 +0000 UTC, Err:<nil>, 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 09:48:46.551 +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 09:48:46.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=687.874ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.564 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.564 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:48:46.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=46] ["take time"=7.284341ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.577 +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 09:48:46.531 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:48:46.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.594 +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 09:48:46.600 +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 09:48:46.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.600 +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 09:48:46.598 +0000 UTC, Err:<nil>, 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 09:48:46.615 +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 09:48:46.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.623 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=476.305ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.624 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.624 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:48:46.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=47] ["take time"=2.158892ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.631 +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 09:48:46.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.635 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:48:46.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.635 +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 09:48:46.638 +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 09:48:46.637 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.638 +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 09:48:46.637 +0000 UTC, Err:<nil>, 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 09:48:46.657 +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 09:48:46.637 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=281.285ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.662 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.662 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:48:46.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=48] ["take time"=2.043354ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.637 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.674 +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 09:48:46.637 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.680 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:48:46.680 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.680 +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 09:48:46.698 +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 09:48:46.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.698 +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 09:48:46.682 +0000 UTC, Err:<nil>, 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 09:48:46.720 +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 09:48:46.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.724 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=338.887ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:46.725 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.725 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:48:46.726 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.091425ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:46.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.734 +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 09:48:46.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.738 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:48:46.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.738 +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 09:48:46.742 +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 09:48:46.741 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.742 +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 09:48:46.741 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:48:46.752 +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 09:48:46.741 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.754 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=80.276ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:46.756 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:48:46.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=50] ["take time"=5.011619ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:46.741 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.764 +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 09:48:46.741 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.768 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:48:46.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.774 +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 09:48:46.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.774 +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 09:48:46.771 +0000 UTC, Err:<nil>, 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 09:48:46.789 +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 09:48:46.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=265.906ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:46.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:46.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:48:46.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=51] ["take time"=9.917965ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:46.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.829 +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 09:48:46.771 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:46.834 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:48:46.834 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:46.872 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.637161466s]
[2024/05/06 09:48:46.874 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0dd33b9b-351c-410b-8bdb-5e735656a2fa] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=2.095ยตs]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=1.342ยตs]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.257ยตs]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.344ยตs]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=890ns]
[2024/05/06 09:48:46.874 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:46.874 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:46.874 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:46.877 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=0dd33b9b-351c-410b-8bdb-5e735656a2fa] ["take time"=5.195926ms]
[2024/05/06 09:48:46.877 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=0dd33b9b-351c-410b-8bdb-5e735656a2fa]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:46.877 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:46.877 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.467692ms]
[2024/05/06 09:48:46.877 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bafc6f05-7ba2-46dd-8a50-6e8378438812] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:46.885 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:46.885 +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 09:48:46.916 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=30.13676ms]
[2024/05/06 09:48:46.921 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:46.921 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e] [runWorker=true]
[2024/05/06 09:48:46.922 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:46.922 +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 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:46.922 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:46.922 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:46.923 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:46.924 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:46.924 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:46.925 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:46.925 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:46.930 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:46.930 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:48:46.946 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:46.949 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:46.951 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:46.952 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:48:46.952 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:46.952 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:46.953 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:46.954 +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 09:48:46.954 +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 09:48:46.954 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:48:46.960 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:46.962 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:48:46.962 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:48:46.967 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:46.967 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=51] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=]
[2024/05/06 09:48:46.970 +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 09:48:46.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:46.970 +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 09:48:46.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"]
[2024/05/06 09:48:46.983 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:46.983 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:46.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=3] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:46.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.000 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=88.87ยตs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:47.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:48:47.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=52] ["take time"=2.036103ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:46.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.010 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=3] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:46.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.018 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:48:47.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.019 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=52] [cur_db=test_db_state] [sql="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"] [user=]
[2024/05/06 09:48:47.027 +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 09:48:47.025 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.027 +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 09:48:47.025 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int, c double default null, d int auto_increment,e int, index idx1(d), index idx2(d,e))"]
[2024/05/06 09:48:47.035 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=3] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.025 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.042 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=388.092ยตs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.044 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53]
[2024/05/06 09:48:47.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=53] ["take time"=4.224345ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.025 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.063 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=3] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.025 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.069 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107]
[2024/05/06 09:48:47.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.071 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test_db_state] [sql="drop table if exists t_part"] [user=]
[2024/05/06 09:48:47.072 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test_db_state] [sql="create table t_part (a int key)\n\t \tpartition by range(a) (\n\t \tpartition p0 values less than (10),\n\t \tpartition p1 values less than (20)\n\t \t);"] [user=]
[2024/05/06 09:48:47.075 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.076 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_part (a int key)\n\t \tpartition by range(a) (\n\t \tpartition p0 values less than (10),\n\t \tpartition p1 values less than (20)\n\t \t);"]
[2024/05/06 09:48:47.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=16.618127ms] [gotSchemaVersion=54] [phyTblIDs="[108,109,110]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=54]
[2024/05/06 09:48:47.108 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=21.355524ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.116 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=3] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.121 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111]
[2024/05/06 09:48:47.121 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.126 +00:00] [INFO] [set.go:170] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:47.134 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:47.136 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=54] [cur_db=test_db_state] [sql="ALTER TABLE t MODIFY COLUMN b int FIRST;"] [user=]
[2024/05/06 09:48:47.138 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:47.138 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="ALTER TABLE t MODIFY COLUMN b int FIRST;"]
[2024/05/06 09:48:47.138 +00:00] [INFO] [set.go:170] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:47.140 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=54] [cur_db=test_db_state] [sql="ALTER TABLE t MODIFY COLUMN b int FIRST;"] [user=]
[2024/05/06 09:48:47.143 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:47.143 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="ALTER TABLE t MODIFY COLUMN b int FIRST;"]
[2024/05/06 09:48:47.145 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:112, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=4] [category=ddl] [job="ID:112, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.149 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:112, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.152 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=373.833ยตs] [gotSchemaVersion=55] [phyTblIDs="[106]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:47.153 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=55]
[2024/05/06 09:48:47.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=55] ["take time"=8.988266ms] [job="ID:112, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.161 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:112, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.169 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=112] [jobType="modify column"]
[2024/05/06 09:48:47.169 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=112] [conn=4] [job="ID:112, Type:modify column, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.173 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:112, Type:modify column, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.137 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.179 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112]
[2024/05/06 09:48:47.179 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.184 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.184 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=5] [category=ddl] [job="ID:113, Type:modify column, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.185 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.187 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=373.678ยตs] [gotSchemaVersion=56] [phyTblIDs="[106]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:48:47.189 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56]
[2024/05/06 09:48:47.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=6.221812ms] [job="ID:113, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.196 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:modify column, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.202 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="modify column"]
[2024/05/06 09:48:47.202 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=5] [job="ID:113, Type:modify column, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.207 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:modify column, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:47.209 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113]
[2024/05/06 09:48:47.220 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.222 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=56] [cur_db=test_db_state] [sql="drop table t"] [user=]
[2024/05/06 09:48:47.224 +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:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.224 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t"]
[2024/05/06 09:48:47.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=103.795ยตs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:47.235 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57]
[2024/05/06 09:48:47.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.035035ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=39.21ยตs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:47.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58]
[2024/05/06 09:48:47.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=58] ["take time"=3.190925ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.261 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.268 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=45.577ยตs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:47.270 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59]
[2024/05/06 09:48:47.270 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.055988ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.277 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[106]"] [comment="drop table: table ID"]
[2024/05/06 09:48:47.279 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"]
[2024/05/06 09:48:47.279 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:47.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.284 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b]
[2024/05/06 09:48:47.284 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114]
[2024/05/06 09:48:47.284 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.609ยตs]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=994ns]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.397ยตs]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=984ns]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=954ns]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e] ["take time"=3.118078ms]
[2024/05/06 09:48:47.287 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e]
[2024/05/06 09:48:47.287 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:48:47.288 +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 09:48:47.288 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:47.288 +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 09:48:47.288 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:48:47.288 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:48:47.288 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:47.288 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:47.288 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:47.288 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:47.289 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e3fb3080-5152-494e-9e99-9b45d35ddc8e] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:48:47.289 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:47.289 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.055421ms]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:48:47.290 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestParallelAlterModifyColumn (3.13s)
=== RUN   TestIndexOnMultipleGeneratedColumn1
[2024/05/06 09:48:47.294 +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 09:48:47.294 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.294 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.295 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.295 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.296 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.298 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d3fceda5-3200-4d22-8c16-07a046db5e58] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:47.306 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"]
[2024/05/06 09:48:47.307 +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.TestIndexOnMultipleGeneratedColumn1\n\tpkg/ddl/db_integration_test.go:661\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:47.332 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=25.088905ms]
[2024/05/06 09:48:47.334 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:47.334 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=060d99ad-2796-418f-8687-2bcc9a9c3bc4] [runWorker=true]
[2024/05/06 09:48:47.334 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:47.334 +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 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:47.334 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:47.334 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:47.335 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:47.336 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:47.336 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:47.336 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:47.338 +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 09:48:47.343 +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 09:48:47.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.343 +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 09:48:47.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:47.396 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:47.396 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:47.405 +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 09:48:47.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.430 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=22.025164ms]
[2024/05/06 09:48:47.431 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:47.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:47.434 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=26.30963ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:47.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.450 +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 09:48:47.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.453 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:47.453 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.453 +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 09:48:47.454 +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 09:48:47.461 +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 09:48:47.457 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.461 +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 09:48:47.457 +0000 UTC, Err:<nil>, 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 09:48:47.469 +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 09:48:47.457 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.503 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.191865ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.504 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.504 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:47.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=2] ["take time"=9.472254ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.457 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.536 +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 09:48:47.457 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.546 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:47.546 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.546 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.547 +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 09:48:47.551 +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 09:48:47.549 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.551 +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 09:48:47.549 +0000 UTC, Err:<nil>, 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 09:48:47.569 +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 09:48:47.549 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.572 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=313.579ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.573 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.573 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:47.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=3] ["take time"=12.389664ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.549 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.612 +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 09:48:47.549 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.627 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:47.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.627 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.628 +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 09:48:47.631 +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 09:48:47.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.631 +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 09:48:47.629 +0000 UTC, Err:<nil>, 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 09:48:47.639 +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 09:48:47.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.644 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=276.802ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.645 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.645 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:47.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=4] ["take time"=8.945879ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.668 +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 09:48:47.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.673 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:47.673 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.674 +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 09:48:47.678 +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 09:48:47.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.678 +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 09:48:47.675 +0000 UTC, Err:<nil>, 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 09:48:47.685 +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 09:48:47.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=835.764ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.694 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:47.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=5] ["take time"=7.494112ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.710 +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 09:48:47.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.716 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:47.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.717 +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 09:48:47.721 +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 09:48:47.719 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.721 +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 09:48:47.719 +0000 UTC, Err:<nil>, 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 09:48:47.730 +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 09:48:47.719 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.734 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=475.114ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.736 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.736 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:47.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=6] ["take time"=7.406523ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.719 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.754 +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 09:48:47.719 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.778 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:47.779 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.779 +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 09:48:47.788 +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 09:48:47.781 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.788 +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 09:48:47.781 +0000 UTC, Err:<nil>, 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 09:48:47.807 +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 09:48:47.781 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.169001ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.816 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.816 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:47.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=6.541806ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.781 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.827 +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 09:48:47.781 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:47.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.834 +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 09:48:47.840 +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 09:48:47.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.840 +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 09:48:47.838 +0000 UTC, Err:<nil>, 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 09:48:47.852 +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 09:48:47.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=221.639ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.857 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.857 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:47.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=8] ["take time"=4.174452ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.872 +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 09:48:47.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.877 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:47.877 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.878 +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 09:48:47.888 +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 09:48:47.884 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.888 +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 09:48:47.884 +0000 UTC, Err:<nil>, 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 09:48:47.895 +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 09:48:47.884 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=260.146ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.901 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.901 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:47.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=9] ["take time"=4.010194ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.884 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.914 +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 09:48:47.884 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.918 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:47.918 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.918 +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 09:48:47.922 +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 09:48:47.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.922 +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 09:48:47.92 +0000 UTC, Err:<nil>, 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 09:48:47.934 +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 09:48:47.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=317.309ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.945 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:47.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=10] ["take time"=6.393045ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.966 +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 09:48:47.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.970 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:47.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:47.970 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.970 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.970 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:47.970 +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 09:48:47.976 +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 09:48:47.972 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:47.976 +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 09:48:47.972 +0000 UTC, Err:<nil>, 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 09:48:47.983 +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 09:48:47.972 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:47.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=364.845ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:47.988 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:47.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:47.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=11] ["take time"=2.969926ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:47.972 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.000 +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 09:48:47.972 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.011 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:48.011 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.012 +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 09:48:48.012 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.019 +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 09:48:48.014 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.019 +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 09:48:48.014 +0000 UTC, Err:<nil>, 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 09:48:48.026 +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 09:48:48.014 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.031 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=538.749ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.032 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48:48.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=12] ["take time"=2.051295ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.014 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.041 +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 09:48:48.014 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.045 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:48.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.046 +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 09:48:48.049 +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 09:48:48.047 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.049 +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 09:48:48.047 +0000 UTC, Err:<nil>, 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 09:48:48.064 +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 09:48:48.047 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.069 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=406.804ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.070 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.071 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:48.071 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.0898ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.047 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.084 +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 09:48:48.047 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.088 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:48.088 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.088 +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 09:48:48.092 +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 09:48:48.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.092 +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 09:48:48.09 +0000 UTC, Err:<nil>, 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 09:48:48.102 +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 09:48:48.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.109 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=421.93ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.110 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.110 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:48.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=14] ["take time"=2.044015ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.119 +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 09:48:48.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.123 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:48:48.123 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.123 +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 09:48:48.127 +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 09:48:48.125 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.127 +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 09:48:48.125 +0000 UTC, Err:<nil>, 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 09:48:48.140 +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 09:48:48.125 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.144 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=315.321ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.145 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.145 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:48:48.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=15] ["take time"=8.758946ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.125 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.157 +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 09:48:48.125 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.166 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:48:48.166 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.166 +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 09:48:48.171 +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 09:48:48.168 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.171 +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 09:48:48.168 +0000 UTC, Err:<nil>, 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 09:48:48.186 +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 09:48:48.168 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.189 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=319.49ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.191 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.191 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:48:48.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=16] ["take time"=4.447455ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.168 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.205 +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 09:48:48.168 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.217 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:48:48.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.217 +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 09:48:48.222 +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 09:48:48.22 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.222 +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 09:48:48.22 +0000 UTC, Err:<nil>, 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 09:48:48.237 +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 09:48:48.22 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=405.938ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.246 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:48:48.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=5.841064ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.22 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.259 +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 09:48:48.22 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.267 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:48:48.267 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.267 +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 09:48:48.291 +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 09:48:48.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.291 +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 09:48:48.272 +0000 UTC, Err:<nil>, 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 09:48:48.295 +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 09:48:48.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.301 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=362.943ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.302 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.302 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:48:48.302 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.010307ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.313 +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 09:48:48.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.318 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:48:48.318 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.319 +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 09:48:48.322 +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 09:48:48.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.322 +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 09:48:48.32 +0000 UTC, Err:<nil>, 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 09:48:48.334 +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 09:48:48.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.336 +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 09:48:48.337 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:48.349 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=489.861ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.350 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:48:48.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.290461ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.366 +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 09:48:48.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:48:48.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.371 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.373 +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 09:48:48.376 +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 09:48:48.375 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.376 +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 09:48:48.375 +0000 UTC, Err:<nil>, 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 09:48:48.389 +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 09:48:48.375 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.398 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=267.17ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.399 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.399 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:48:48.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=20] ["take time"=7.938177ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.375 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.413 +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 09:48:48.375 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.419 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:48:48.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.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 09:48:48.423 +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 09:48:48.421 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.423 +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 09:48:48.421 +0000 UTC, Err:<nil>, 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 09:48:48.431 +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 09:48:48.421 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=257.467ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.440 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.440 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:48:48.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"=2.270933ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.421 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.447 +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 09:48:48.421 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.450 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:48:48.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.451 +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 09:48:48.462 +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 09:48:48.461 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.462 +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 09:48:48.461 +0000 UTC, Err:<nil>, 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 09:48:48.471 +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 09:48:48.461 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=205.799ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.476 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.476 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:48:48.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.769088ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.461 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.485 +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 09:48:48.461 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.498 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:48:48.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.500 +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 09:48:48.504 +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 09:48:48.502 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.504 +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 09:48:48.502 +0000 UTC, Err:<nil>, 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 09:48:48.533 +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 09:48:48.502 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=383.703ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.538 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:48:48.538 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.064655ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.502 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.547 +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 09:48:48.502 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.552 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:48:48.552 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.552 +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 09:48:48.558 +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 09:48:48.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.558 +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 09:48:48.556 +0000 UTC, Err:<nil>, 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 09:48:48.566 +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 09:48:48.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.570 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=319.642ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.571 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.571 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:48:48.572 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.404744ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.602 +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 09:48:48.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.607 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:48:48.607 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.626 +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 09:48:48.640 +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 09:48:48.638 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.640 +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 09:48:48.638 +0000 UTC, Err:<nil>, 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 09:48:48.649 +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 09:48:48.638 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.653 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=336.943ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.654 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.654 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:48:48.656 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=3.03701ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.638 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.661 +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 09:48:48.638 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.665 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:48:48.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.666 +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 09:48:48.669 +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 09:48:48.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.669 +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 09:48:48.667 +0000 UTC, Err:<nil>, 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 09:48:48.679 +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 09:48:48.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=300.562ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.684 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.684 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:48:48.685 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.446039ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.692 +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 09:48:48.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.697 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:48:48.697 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.697 +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 09:48:48.701 +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 09:48:48.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.701 +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 09:48:48.699 +0000 UTC, Err:<nil>, 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 09:48:48.714 +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 09:48:48.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=310.318ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.719 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.719 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:48:48.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=27] ["take time"=2.043592ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.727 +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 09:48:48.699 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.734 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:48:48.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.735 +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 09:48:48.738 +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 09:48:48.737 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.738 +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 09:48:48.737 +0000 UTC, Err:<nil>, 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 09:48:48.749 +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 09:48:48.737 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.753 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=276.158ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.754 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:48:48.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=28] ["take time"=2.012006ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.737 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.761 +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 09:48:48.737 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:48:48.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.768 +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 09:48:48.768 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.772 +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 09:48:48.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.772 +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 09:48:48.77 +0000 UTC, Err:<nil>, 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 09:48:48.779 +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 09:48:48.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=372.892ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.785 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:48:48.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=29] ["take time"=2.147624ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.793 +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 09:48:48.77 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.797 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:48:48.798 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.798 +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 09:48:48.801 +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 09:48:48.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.801 +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 09:48:48.8 +0000 UTC, Err:<nil>, 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 09:48:48.813 +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 09:48:48.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.822 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=410.9ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.824 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.824 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:48:48.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=30] ["take time"=6.084308ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.850 +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 09:48:48.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.855 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:48:48.855 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.856 +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 09:48:48.859 +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 09:48:48.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.860 +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 09:48:48.858 +0000 UTC, Err:<nil>, 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 09:48:48.879 +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 09:48:48.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=408.335ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.891 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.891 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:48:48.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=31] ["take time"=4.117444ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.911 +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 09:48:48.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.915 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:48:48.915 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.916 +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 09:48:48.919 +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 09:48:48.917 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.919 +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 09:48:48.917 +0000 UTC, Err:<nil>, 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 09:48:48.927 +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 09:48:48.917 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=554.892ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.933 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.933 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:48:48.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=32] ["take time"=6.726964ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.917 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.946 +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 09:48:48.917 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.952 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:48:48.952 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:48.952 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.952 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:48.952 +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 09:48:48.965 +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 09:48:48.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:48.965 +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 09:48:48.963 +0000 UTC, Err:<nil>, 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 09:48:48.975 +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 09:48:48.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:48.984 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=280.596ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:48.985 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:48.985 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:48:48.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=33] ["take time"=3.054321ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:48.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.003 +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 09:48:48.963 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.009 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:48:49.009 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.013 +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 09:48:49.011 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.013 +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 09:48:49.011 +0000 UTC, Err:<nil>, 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 09:48:49.023 +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 09:48:49.011 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.028 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=351.248ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:49.030 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.030 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:48:49.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=34] ["take time"=2.075819ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:49.011 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.036 +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 09:48:49.011 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.043 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:48:49.043 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.044 +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 09:48:49.061 +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 09:48:49.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.061 +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 09:48:49.05 +0000 UTC, Err:<nil>, 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 09:48:49.072 +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 09:48:49.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=408.638ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.077 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.077 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:48:49.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=35] ["take time"=2.767545ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.085 +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 09:48:49.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.089 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:48:49.089 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.090 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.090 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.091 +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 09:48:49.094 +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 09:48:49.092 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.094 +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 09:48:49.092 +0000 UTC, Err:<nil>, 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 09:48:49.107 +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 09:48:49.092 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.113 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=1.363562ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.114 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.114 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:48:49.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.009867ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.092 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.124 +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 09:48:49.092 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.127 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:48:49.127 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.128 +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 09:48:49.136 +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 09:48:49.134 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.136 +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 09:48:49.134 +0000 UTC, Err:<nil>, 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 09:48:49.142 +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 09:48:49.134 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.149 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=274.498ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.151 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.151 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:48:49.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=37] ["take time"=8.436419ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.134 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.169 +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 09:48:49.134 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.173 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:48:49.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.174 +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 09:48:49.188 +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 09:48:49.182 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.188 +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 09:48:49.182 +0000 UTC, Err:<nil>, 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 09:48:49.203 +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 09:48:49.182 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.208 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=539.778ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.209 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:48:49.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=38] ["take time"=2.046384ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.182 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.219 +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 09:48:49.182 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.231 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:48:49.235 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.235 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.235 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.235 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.236 +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 09:48:49.240 +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 09:48:49.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.240 +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 09:48:49.238 +0000 UTC, Err:<nil>, 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 09:48:49.248 +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 09:48:49.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.254 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=561.683ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.255 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.255 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:48:49.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.873894ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.268 +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 09:48:49.238 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.273 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:48:49.273 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.273 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.274 +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 09:48:49.278 +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 09:48:49.276 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.278 +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 09:48:49.276 +0000 UTC, Err:<nil>, 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 09:48:49.291 +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 09:48:49.276 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.297 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=603.716ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.298 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:48:49.300 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.387743ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.276 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.312 +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 09:48:49.276 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.319 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:48:49.319 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.319 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.320 +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 09:48:49.329 +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 09:48:49.322 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.329 +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 09:48:49.322 +0000 UTC, Err:<nil>, 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 09:48:49.338 +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 09:48:49.322 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.341 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:48:49.345 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=551.93ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.346 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.346 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:48:49.347 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.240442ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.322 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.356 +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 09:48:49.322 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.369 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:48:49.370 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.370 +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 09:48:49.374 +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 09:48:49.372 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.374 +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 09:48:49.372 +0000 UTC, Err:<nil>, 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 09:48:49.382 +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 09:48:49.372 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.394 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=1.05666ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.396 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.397 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:48:49.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=42] ["take time"=6.775978ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.372 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.421 +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 09:48:49.372 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.427 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:48:49.427 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.428 +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 09:48:49.440 +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 09:48:49.438 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.440 +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 09:48:49.438 +0000 UTC, Err:<nil>, 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 09:48:49.465 +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 09:48:49.438 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.483 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=566.798ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.484 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.484 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:48:49.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=43] ["take time"=2.058755ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.438 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.497 +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 09:48:49.438 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.505 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:48:49.505 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.505 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.505 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.505 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.505 +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 09:48:49.510 +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 09:48:49.508 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.510 +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 09:48:49.508 +0000 UTC, Err:<nil>, 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 09:48:49.519 +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 09:48:49.508 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.526 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=344.461ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.527 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.527 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:48:49.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=44] ["take time"=2.854997ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.508 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.536 +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 09:48:49.508 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.540 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:48:49.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.540 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.541 +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 09:48:49.703 +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 09:48:49.69 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.703 +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 09:48:49.69 +0000 UTC, Err:<nil>, 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 09:48:49.749 +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 09:48:49.69 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=454.103ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.762 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.762 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:48:49.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=45] ["take time"=4.475058ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.69 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.777 +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 09:48:49.69 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.782 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:48:49.782 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.782 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.782 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.783 +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 09:48:49.810 +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 09:48:49.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.812 +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 09:48:49.79 +0000 UTC, Err:<nil>, 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 09:48:49.823 +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 09:48:49.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.839 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=627.987ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.840 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.840 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:48:49.840 +00:00] [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.709627ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.858 +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 09:48:49.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.865 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:48:49.865 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.866 +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 09:48:49.879 +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 09:48:49.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.879 +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 09:48:49.868 +0000 UTC, Err:<nil>, 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 09:48:49.890 +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 09:48:49.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.896 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=409.325ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.898 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.898 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:48:49.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=47] ["take time"=4.44617ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.911 +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 09:48:49.868 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.917 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:48:49.917 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.917 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:49.918 +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 09:48:49.927 +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 09:48:49.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.927 +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 09:48:49.92 +0000 UTC, Err:<nil>, 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 09:48:49.938 +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 09:48:49.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=322.523ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:49.953 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:49.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:48:49.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=48] ["take time"=5.103838ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.964 +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 09:48:49.92 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:49.981 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:48:49.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:49.981 +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 09:48:49.985 +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 09:48:49.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:49.985 +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 09:48:49.983 +0000 UTC, Err:<nil>, 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 09:48:50.002 +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 09:48:49.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=399.387ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:50.007 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.007 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:48:50.007 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.046351ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:49.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.014 +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 09:48:49.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.019 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:48:50.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.019 +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 09:48:50.024 +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 09:48:50.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.024 +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 09:48:50.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:48:50.041 +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 09:48:50.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.049 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=67.878ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:50.051 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.051 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:48:50.052 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.745276ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:50.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.062 +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 09:48:50.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.068 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:48:50.068 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.078 +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 09:48:50.073 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.078 +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 09:48:50.073 +0000 UTC, Err:<nil>, 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 09:48:50.089 +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 09:48:50.073 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=319.168ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:50.095 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:48:50.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=51] ["take time"=4.020283ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:50.073 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.107 +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 09:48:50.073 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.111 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:48:50.111 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.147 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.81266563s]
[2024/05/06 09:48:50.151 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=060d99ad-2796-418f-8687-2bcc9a9c3bc4] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.706ยตs]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.212ยตs]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.291ยตs]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=1.274ยตs]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.151 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=720ns]
[2024/05/06 09:48:50.152 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.152 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:50.152 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:50.188 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=060d99ad-2796-418f-8687-2bcc9a9c3bc4] ["take time"=39.887101ms]
[2024/05/06 09:48:50.188 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=060d99ad-2796-418f-8687-2bcc9a9c3bc4]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:50.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:50.188 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=40.309544ms]
[2024/05/06 09:48:50.188 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d3fceda5-3200-4d22-8c16-07a046db5e58] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:50.199 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"]
[2024/05/06 09:48:50.236 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=35.911179ms]
[2024/05/06 09:48:50.242 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:50.242 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd] [runWorker=true]
[2024/05/06 09:48:50.243 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:50.243 +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 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:50.243 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:50.243 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:50.245 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:50.245 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:50.246 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:50.246 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:50.252 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:50.252 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:48:50.271 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:50.276 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:50.278 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:50.279 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:50.279 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:50.280 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:50.280 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:48:50.282 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:48:50.283 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:50.283 +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 09:48:50.283 +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 09:48:50.285 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:48:50.285 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:48:50.293 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:50.294 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=] [sql="create database if not exists test"] [user=]
[2024/05/06 09:48:50.294 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t"] [user=]
[2024/05/06 09:48:50.295 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, b int as (a + 1), c int as (b + 1), d int as (c + 1))"] [user=]
[2024/05/06 09:48:50.295 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:50.295 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:50.304 +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 09:48:50.302 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.304 +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 09:48:50.302 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int as (a + 1), c int as (b + 1), d int as (c + 1))"]
[2024/05/06 09:48:50.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, 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 09:48:50.302 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.315 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=575.397ยตs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:50.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:48:50.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=52] ["take time"=4.520067ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:50.302 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.325 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, 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 09:48:50.302 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.330 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:48:50.330 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.332 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="create index idx on t (d)"] [user=]
[2024/05/06 09:48:50.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:50.335 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create index idx on t (d)"]
[2024/05/06 09:48:50.350 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=106] [conn=8] [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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.351 +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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"idx\",\"L\":\"idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":3,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"]
[2024/05/06 09:48:50.351 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:48:50.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=506.036ยตs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.364 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53]
[2024/05/06 09:48:50.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"=4.926774ms] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.376 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 29, tp add index"] [category=ddl] [jobID=106] [conn=8] [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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.379 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=512.661ยตs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.380 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54]
[2024/05/06 09:48:50.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=54] ["take time"=10.498652ms] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 27, tp add index"] [category=ddl] [jobID=106] [conn=8] [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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=509.091ยตs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55]
[2024/05/06 09:48:50.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=4.880626ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.416 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 28, tp add index"] [category=ddl] [jobID=106] [conn=8] [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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.416 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=false] [index=idx]
[2024/05/06 09:48:50.417 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100]
[2024/05/06 09:48:50.426 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:50.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 29, tp add index"] [category=ddl] [jobID=106] [conn=8] [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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058174971904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.435 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t] ["ingest mode"=false] [index=idx]
[2024/05/06 09:48:50.438 +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 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058174971904, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:50.439 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100]
[2024/05/06 09:48:50.439 +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 09:48:50.440 +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 09:48:50.440 +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"=1] ["scan count"=1] ["next key"=7480000000000000685f72800000000000000100] ["take time"=656.917ยตs]
[2024/05/06 09:48:50.440 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106]
[2024/05/06 09:48:50.440 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106]
[2024/05/06 09:48:50.441 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106]
[2024/05/06 09:48:50.441 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106]
[2024/05/06 09:48:50.441 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001]
[2024/05/06 09:48:50.441 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/06 09:48:50.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=512.968ยตs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56]
[2024/05/06 09:48:50.521 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.04722ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058174971904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 28, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058174971904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.529 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=106] [table=t] [index=idx]
[2024/05/06 09:48:50.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=466.3ยตs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57]
[2024/05/06 09:48:50.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=57] ["take time"=3.440632ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.542 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 27, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.543 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff]
[2024/05/06 09:48:50.546 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:50.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 30, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058208264192, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.559 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:6, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058208264192, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000685f69ffff000000000001,EndKey:7480000000000000685f69ffff000000000001ff,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:50.560 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000001] ["end key"=7480000000000000685f69ffff000000000001ff]
[2024/05/06 09:48:50.560 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000001ff]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000001ff] ["current end key"=7480000000000000685f69ffff00000000000100]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=106]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000001, 7480000000000000685f69ffff00000000000100), jobID: 106"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000010000] ["take time"=142.765ยตs]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=106]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=106]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=106]
[2024/05/06 09:48:50.561 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000685f69ffff000000000001]
[2024/05/06 09:48:50.561 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/06 09:48:50.611 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:48:50.614 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=502.703ยตs] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:50.618 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58]
[2024/05/06 09:48:50.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=58] ["take time"=8.409792ms] [job="ID:106, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058208264192, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.629 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"]
[2024/05/06 09:48:50.631 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="add index"]
[2024/05/06 09:48:50.631 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 27, tp add index"] [category=ddl] [jobID=106] [conn=8] [job="ID:106, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1, ArgLen:3, start time: 2024-05-06 09:48:50.333 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574058208264192, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:50.639 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106]
[2024/05/06 09:48:50.639 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.641 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000002]
[2024/05/06 09:48:50.644 +00:00] [INFO] [executor.go:2527] ["fast check table by group"] ["table name"=t] ["index name"=idx] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `c` + 1)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `c` + 1)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`idx`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"]
[2024/05/06 09:48:50.652 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=2.622ยตs]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=2.086ยตs]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.421ยตs]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=1.031ยตs]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=1.276ยตs]
[2024/05/06 09:48:50.652 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:50.652 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:50.652 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:50.653 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd] ["take time"=830.82ยตs]
[2024/05/06 09:48:50.653 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd]
[2024/05/06 09:48:50.653 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:48:50.653 +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 09:48:50.653 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:50.653 +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 09:48:50.653 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:50.653 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:48:50.654 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:48:50.654 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:50.654 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:50.654 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:50.654 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:50.654 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:50.654 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:50.655 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:50.655 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=a05d3feb-cdbd-4bfc-a087-2bbcfec41edd] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:50.655 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:48:50.654 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:48:50.655 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:48:50.655 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:50.656 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.949728ms]
[2024/05/06 09:48:50.657 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:48:50.658 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:48:50.658 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:48:50.658 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:48:50.658 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:48:50.658 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestIndexOnMultipleGeneratedColumn1 (3.37s)
=== RUN   TestRenameMultiTables
[2024/05/06 09:48:50.667 +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 09:48:50.667 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.667 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.668 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.668 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.670 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.674 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=61b15069-cb51-4daa-9691-34748f7c14c9] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:50.681 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"]
[2024/05/06 09:48:50.681 +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.TestRenameMultiTables\n\tpkg/ddl/db_rename_test.go:173\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:50.701 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.188676ms]
[2024/05/06 09:48:50.701 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:50.701 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=5935bd58-af5a-4254-8af4-0dd1c2477eb9] [runWorker=true]
[2024/05/06 09:48:50.703 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:50.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 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:50.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:50.703 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:50.703 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:50.703 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:50.704 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:50.704 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:50.707 +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 09:48:50.710 +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 09:48:50.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.710 +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 09:48:50.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:50.759 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:50.759 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:50.769 +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 09:48:50.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.792 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=21.239277ms]
[2024/05/06 09:48:50.794 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:50.796 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:50.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=1] ["take time"=30.399965ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:50.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.808 +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 09:48:50.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.812 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:50.812 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.812 +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 09:48:50.813 +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 09:48:50.822 +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 09:48:50.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.823 +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 09:48:50.818 +0000 UTC, Err:<nil>, 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 09:48:50.848 +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 09:48:50.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.862 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.371978ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:50.863 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.864 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:50.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=6.293063ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:50.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.874 +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 09:48:50.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.882 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:50.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.882 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.883 +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 09:48:50.891 +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 09:48:50.885 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.891 +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 09:48:50.885 +0000 UTC, Err:<nil>, 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 09:48:50.898 +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 09:48:50.885 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.903 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=299.292ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:50.905 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.905 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:50.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=3] ["take time"=3.086159ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:50.885 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.917 +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 09:48:50.885 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:50.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.922 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:50.922 +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 09:48:50.925 +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 09:48:50.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.925 +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 09:48:50.924 +0000 UTC, Err:<nil>, 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 09:48:50.945 +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 09:48:50.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.953 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=376.372ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:50.956 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:50.956 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:50.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=4] ["take time"=4.74019ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:50.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.966 +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 09:48:50.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:50.970 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:50.970 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:50.971 +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 09:48:50.979 +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 09:48:50.975 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:50.979 +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 09:48:50.975 +0000 UTC, Err:<nil>, 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 09:48:50.997 +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 09:48:50.975 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=1.196667ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.008 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.008 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:51.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=5] ["take time"=8.872421ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:50.975 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.021 +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 09:48:50.975 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.028 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:51.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.029 +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 09:48:51.041 +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 09:48:51.035 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.041 +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 09:48:51.035 +0000 UTC, Err:<nil>, 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 09:48:51.073 +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 09:48:51.035 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.077 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=403.97ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.078 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.078 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:51.079 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.26742ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.035 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.086 +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 09:48:51.035 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:51.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48: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 09:48:51.103 +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 09:48:51.097 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.103 +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 09:48:51.097 +0000 UTC, Err:<nil>, 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 09:48:51.113 +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 09:48:51.097 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.118 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=364.083ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.119 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.119 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:51.119 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.011819ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.097 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.133 +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 09:48:51.097 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.139 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:51.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48: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 09:48:51.147 +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 09:48:51.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.147 +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 09:48:51.141 +0000 UTC, Err:<nil>, 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 09:48:51.159 +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 09:48:51.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.162 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=266.449ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.164 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.164 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:51.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=8] ["take time"=5.698606ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.178 +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 09:48:51.141 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.182 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:51.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.183 +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 09:48:51.189 +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 09:48:51.185 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.189 +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 09:48:51.185 +0000 UTC, Err:<nil>, 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 09:48:51.214 +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 09:48:51.185 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.220 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=286.884ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.221 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.221 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:51.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=9] ["take time"=14.663376ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.185 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.243 +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 09:48:51.185 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.248 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:51.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.249 +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 09:48:51.266 +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 09:48:51.263 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.266 +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 09:48:51.263 +0000 UTC, Err:<nil>, 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 09:48:51.280 +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 09:48:51.263 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.285 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=563.928ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.291 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.291 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:51.292 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=8.080997ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.263 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.299 +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 09:48:51.263 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.311 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:51.311 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.311 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.311 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.311 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.312 +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 09:48:51.330 +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 09:48:51.314 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.331 +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 09:48:51.314 +0000 UTC, Err:<nil>, 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 09:48:51.337 +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 09:48:51.314 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=395.724ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.343 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.343 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:51.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=11] ["take time"=2.038969ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.314 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.350 +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 09:48:51.314 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.358 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:51.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.359 +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 09:48:51.359 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.364 +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 09:48:51.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.364 +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 09:48:51.361 +0000 UTC, Err:<nil>, 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 09:48:51.377 +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 09:48:51.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.386 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=522.29ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.388 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.388 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48:51.388 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.021353ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.396 +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 09:48:51.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.405 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:51.405 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.406 +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 09:48:51.421 +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 09:48:51.408 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.421 +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 09:48:51.408 +0000 UTC, Err:<nil>, 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 09:48:51.428 +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 09:48:51.408 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.447 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=427.471ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.448 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.448 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:51.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=13] ["take time"=7.082864ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.408 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.471 +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 09:48:51.408 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.476 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:51.476 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.477 +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 09:48:51.486 +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 09:48:51.483 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.486 +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 09:48:51.483 +0000 UTC, Err:<nil>, 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 09:48:51.509 +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 09:48:51.483 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.514 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=357.288ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.515 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:51.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=14] ["take time"=3.049215ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.483 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.538 +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 09:48:51.483 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.544 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:48:51.544 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.545 +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 09:48:51.551 +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 09:48:51.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.551 +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 09:48:51.546 +0000 UTC, Err:<nil>, 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 09:48:51.564 +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 09:48:51.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.570 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=463.292ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.573 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.573 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:48:51.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=15] ["take time"=9.145225ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.585 +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 09:48:51.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.592 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:48:51.592 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.592 +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 09:48:51.600 +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 09:48:51.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.600 +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 09:48:51.598 +0000 UTC, Err:<nil>, 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 09:48:51.609 +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 09:48:51.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.613 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=360.301ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.614 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.614 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:48:51.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=16] ["take time"=5.6253ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.637 +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 09:48:51.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.642 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:48:51.642 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.643 +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 09:48:51.647 +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 09:48:51.645 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.647 +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 09:48:51.645 +0000 UTC, Err:<nil>, 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 09:48:51.662 +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 09:48:51.645 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.681 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=397.745ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.682 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.682 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:48:51.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=17] ["take time"=2.438587ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.645 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.690 +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 09:48:51.645 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.694 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:48:51.694 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.695 +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 09:48:51.700 +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 09:48:51.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.700 +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 09:48:51.696 +0000 UTC, Err:<nil>, 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 09:48:51.704 +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 09:48:51.704 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:51.709 +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 09:48:51.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.719 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=305.596ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.720 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.720 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:48:51.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=18] ["take time"=2.238576ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.728 +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 09:48:51.696 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.732 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:48:51.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.733 +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 09:48:51.736 +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 09:48:51.734 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.736 +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 09:48:51.734 +0000 UTC, Err:<nil>, 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 09:48:51.747 +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 09:48:51.734 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.750 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=339.321ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.752 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.752 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:48:51.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=19] ["take time"=22.500664ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.734 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.789 +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 09:48:51.734 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.795 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:48:51.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.796 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:51.797 +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 09:48:51.800 +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 09:48:51.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.800 +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 09:48:51.799 +0000 UTC, Err:<nil>, 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 09:48:51.819 +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 09:48:51.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.823 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=344.535ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.825 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.825 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:48:51.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=20] ["take time"=10.527463ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.841 +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 09:48:51.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.848 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:48:51.848 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.848 +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 09:48:51.853 +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 09:48:51.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.853 +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 09:48:51.851 +0000 UTC, Err:<nil>, 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 09:48:51.864 +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 09:48:51.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.868 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=238.346ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.870 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:48:51.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=21] ["take time"=5.347971ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.886 +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 09:48:51.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.892 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:48:51.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.893 +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 09:48:51.896 +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 09:48:51.895 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.896 +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 09:48:51.895 +0000 UTC, Err:<nil>, 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 09:48:51.907 +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 09:48:51.895 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=224.882ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.912 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.912 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:48:51.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=22] ["take time"=2.134987ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.895 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.928 +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 09:48:51.895 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.931 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:48:51.931 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.932 +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 09:48:51.939 +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 09:48:51.934 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.939 +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 09:48:51.934 +0000 UTC, Err:<nil>, 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 09:48:51.949 +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 09:48:51.934 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=399.003ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:51.967 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:51.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:48:51.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=23] ["take time"=2.051844ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.934 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.975 +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 09:48:51.934 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:51.982 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:48:51.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:51.983 +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 09:48:51.991 +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 09:48:51.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:51.991 +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 09:48:51.985 +0000 UTC, Err:<nil>, 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 09:48:51.998 +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 09:48:51.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=365.336ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.002 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:48:52.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=24] ["take time"=2.331703ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:51.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.016 +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 09:48:51.985 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.021 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:48:52.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.022 +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 09:48:52.025 +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 09:48:52.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.025 +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 09:48:52.023 +0000 UTC, Err:<nil>, 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 09:48:52.048 +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 09:48:52.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=919.655ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.063 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:48:52.068 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=7.783369ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.087 +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 09:48:52.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:48:52.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.092 +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 09:48:52.098 +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 09:48:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.098 +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 09:48:52.095 +0000 UTC, Err:<nil>, 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 09:48:52.108 +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 09:48:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=291.937ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.118 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:48:52.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=26] ["take time"=9.257917ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.134 +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 09:48:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.137 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:48:52.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.138 +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 09:48:52.144 +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 09:48:52.142 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.144 +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 09:48:52.142 +0000 UTC, Err:<nil>, 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 09:48:52.156 +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 09:48:52.142 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=336.534ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.172 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:48:52.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=27] ["take time"=2.01719ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.142 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.179 +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 09:48:52.142 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.184 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:48:52.184 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.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 09:48:52.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 09:48:52.186 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.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 09:48:52.186 +0000 UTC, Err:<nil>, 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 09:48:52.198 +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 09:48:52.186 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.201 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=265.467ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.202 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.202 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:48:52.203 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.460468ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.186 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.224 +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 09:48:52.186 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.238 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:48:52.238 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.239 +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 09:48:52.239 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.243 +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 09:48:52.241 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.243 +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 09:48:52.241 +0000 UTC, Err:<nil>, 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 09:48:52.252 +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 09:48:52.241 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.256 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=365.442ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.258 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:48:52.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.102824ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.241 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.266 +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 09:48:52.241 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.271 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:48:52.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.271 +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 09:48:52.274 +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 09:48:52.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.274 +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 09:48:52.273 +0000 UTC, Err:<nil>, 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 09:48:52.284 +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 09:48:52.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.290 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=398.572ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.292 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.292 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:48:52.297 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=7.670831ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.304 +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 09:48:52.273 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.308 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:48:52.308 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.309 +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 09:48:52.312 +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 09:48:52.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.312 +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 09:48:52.31 +0000 UTC, Err:<nil>, 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 09:48:52.334 +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 09:48:52.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=388.707ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.341 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.341 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:48:52.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=31] ["take time"=2.717327ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.356 +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 09:48:52.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.364 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:48:52.364 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.364 +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 09:48:52.374 +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 09:48:52.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.374 +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 09:48:52.371 +0000 UTC, Err:<nil>, 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 09:48:52.393 +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 09:48:52.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.399 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=589.621ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.401 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.401 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:48:52.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=32] ["take time"=4.746059ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.417 +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 09:48:52.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:48:52.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.427 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.427 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.427 +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 09:48:52.433 +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 09:48:52.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.433 +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 09:48:52.431 +0000 UTC, Err:<nil>, 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 09:48:52.441 +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 09:48:52.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=239.287ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.448 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.448 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:48:52.449 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.901547ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.457 +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 09:48:52.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.461 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:48:52.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.467 +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 09:48:52.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.467 +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 09:48:52.464 +0000 UTC, Err:<nil>, 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 09:48:52.479 +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 09:48:52.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.500 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=368.498ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:52.501 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.501 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:48:52.512 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=12.425172ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:52.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.524 +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 09:48:52.464 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.531 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:48:52.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.532 +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 09:48:52.536 +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 09:48:52.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.536 +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 09:48:52.534 +0000 UTC, Err:<nil>, 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 09:48:52.544 +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 09:48:52.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.549 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=319.363ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.550 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.550 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:48:52.551 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.511526ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.560 +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 09:48:52.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.574 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:48:52.574 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.575 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.575 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.575 +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 09:48:52.581 +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 09:48:52.579 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.581 +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 09:48:52.579 +0000 UTC, Err:<nil>, 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 09:48:52.590 +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 09:48:52.579 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.594 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=295.393ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.595 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:48:52.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=36] ["take time"=2.016929ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.579 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.606 +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 09:48:52.579 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.610 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:48:52.610 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.611 +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 09:48:52.627 +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 09:48:52.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.627 +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 09:48:52.626 +0000 UTC, Err:<nil>, 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 09:48:52.648 +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 09:48:52.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.652 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=257.95ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.653 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.654 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:48:52.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=37] ["take time"=2.011006ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.668 +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 09:48:52.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.673 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:48:52.673 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.673 +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 09:48:52.677 +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 09:48:52.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.678 +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 09:48:52.675 +0000 UTC, Err:<nil>, 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 09:48:52.693 +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 09:48:52.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.700 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=509.12ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.701 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.701 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:48:52.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=38] ["take time"=6.465115ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.709 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:48:52.712 +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 09:48:52.675 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.717 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:48:52.717 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.717 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.718 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.718 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.718 +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 09:48:52.724 +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 09:48:52.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.725 +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 09:48:52.722 +0000 UTC, Err:<nil>, 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 09:48:52.739 +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 09:48:52.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.744 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=555.871ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.746 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.746 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:48:52.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=7.085694ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.760 +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 09:48:52.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.776 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:48:52.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.776 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.777 +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 09:48:52.783 +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 09:48:52.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.783 +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 09:48:52.78 +0000 UTC, Err:<nil>, 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 09:48:52.798 +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 09:48:52.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=633.889ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.808 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:48:52.812 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=8.794382ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.821 +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 09:48:52.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.828 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:48:52.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.829 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:52.829 +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 09:48:52.845 +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 09:48:52.832 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.845 +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 09:48:52.832 +0000 UTC, Err:<nil>, 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 09:48:52.854 +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 09:48:52.832 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.863 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=574.475ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.864 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.864 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:48:52.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=41] ["take time"=5.796139ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.832 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.877 +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 09:48:52.832 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.886 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:48:52.887 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.887 +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 09:48:52.900 +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 09:48:52.897 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.900 +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 09:48:52.897 +0000 UTC, Err:<nil>, 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 09:48:52.909 +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 09:48:52.897 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=610.853ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.917 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:48:52.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=42] ["take time"=9.21132ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.897 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.936 +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 09:48:52.897 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.941 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:48:52.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:52.942 +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 09:48:52.951 +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 09:48:52.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:52.951 +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 09:48:52.948 +0000 UTC, Err:<nil>, 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 09:48:52.961 +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 09:48:52.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.967 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=553.725ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:52.968 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:52.968 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:48:52.971 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.901044ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:52.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:52.995 +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 09:48:52.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.000 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:48:53.000 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.000 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.000 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.000 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.001 +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 09:48:53.005 +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 09:48:53.003 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.005 +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 09:48:53.003 +0000 UTC, Err:<nil>, 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 09:48:53.015 +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 09:48:53.003 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=446.137ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.022 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.022 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:48:53.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=44] ["take time"=4.397219ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.003 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.048 +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 09:48:53.003 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.052 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:48:53.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.052 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.052 +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 09:48:53.055 +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 09:48:53.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.055 +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 09:48:53.054 +0000 UTC, Err:<nil>, 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 09:48:53.069 +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 09:48:53.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=446.398ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.079 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.079 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:48:53.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=45] ["take time"=5.988878ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.101 +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 09:48:53.054 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.120 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:48:53.120 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.120 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.120 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.121 +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 09:48:53.131 +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 09:48:53.127 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.131 +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 09:48:53.127 +0000 UTC, Err:<nil>, 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 09:48:53.142 +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 09:48:53.127 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.151 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=618.339ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.153 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.153 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:48:53.155 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.955566ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.127 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.188 +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 09:48:53.127 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.194 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:48:53.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.195 +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 09:48:53.215 +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 09:48:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.215 +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 09:48:53.196 +0000 UTC, Err:<nil>, 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 09:48:53.221 +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 09:48:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.228 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=420.624ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.229 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.230 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:48:53.232 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.769025ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.254 +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 09:48:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.266 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:48:53.266 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.266 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:53.267 +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 09:48:53.274 +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 09:48:53.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.274 +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 09:48:53.272 +0000 UTC, Err:<nil>, 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 09:48:53.283 +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 09:48:53.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.289 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=301.221ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.290 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.290 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:48:53.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=48] ["take time"=29.082468ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.331 +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 09:48:53.272 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:48:53.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.338 +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 09:48:53.342 +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 09:48:53.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.342 +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 09:48:53.339 +0000 UTC, Err:<nil>, 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 09:48:53.382 +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 09:48:53.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=313.285ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.392 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:48:53.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=49] ["take time"=2.18064ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.424 +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 09:48:53.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.429 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:48:53.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.429 +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 09:48:53.432 +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 09:48:53.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.432 +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 09:48:53.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:48:53.445 +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 09:48:53.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.456 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=86.228ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:53.458 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.458 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:48:53.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=50] ["take time"=4.266279ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:53.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.469 +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 09:48:53.431 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.482 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:48:53.482 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.487 +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 09:48:53.485 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.487 +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 09:48:53.485 +0000 UTC, Err:<nil>, 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 09:48:53.500 +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 09:48:53.485 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=315.88ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:53.513 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:53.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:48:53.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=51] ["take time"=4.297935ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:53.485 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.525 +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 09:48:53.485 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.531 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:48:53.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.575 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.872271993s]
[2024/05/06 09:48:53.577 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5935bd58-af5a-4254-8af4-0dd1c2477eb9] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=6.858ยตs]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=5.542ยตs]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=2.404ยตs]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=4.407ยตs]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=985ns]
[2024/05/06 09:48:53.577 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:53.577 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:53.578 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:53.582 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=5935bd58-af5a-4254-8af4-0dd1c2477eb9] ["take time"=5.914167ms]
[2024/05/06 09:48:53.582 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=5935bd58-af5a-4254-8af4-0dd1c2477eb9]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:53.582 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:53.582 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.343051ms]
[2024/05/06 09:48:53.582 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=61b15069-cb51-4daa-9691-34748f7c14c9] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:53.590 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"]
[2024/05/06 09:48:53.624 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=33.990567ms]
[2024/05/06 09:48:53.629 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:53.629 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a] [runWorker=true]
[2024/05/06 09:48:53.629 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:53.629 +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 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:53.629 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:53.629 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:53.630 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:53.630 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:53.630 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:53.634 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:53.649 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:53.649 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:48:53.664 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:53.667 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:53.668 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:53.669 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:53.669 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:53.670 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:53.670 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:48:53.671 +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 09:48:53.671 +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 09:48:53.679 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:48:53.680 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:53.680 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:53.681 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:53.683 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:48:53.683 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:48:53.687 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:53.688 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=51] [cur_db=test] [sql="create table t1(id int)"] [user=]
[2024/05/06 09:48:53.693 +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 09:48:53.692 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.694 +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 09:48:53.692 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(id int)"]
[2024/05/06 09:48:53.700 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=9] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.692 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.704 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=185.56ยตs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.705 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:48:53.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=52] ["take time"=5.649581ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.692 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.721 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=9] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.692 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.728 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:48:53.728 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.729 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=52] [cur_db=test] [sql="create table t2(id int)"] [user=]
[2024/05/06 09:48:53.732 +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 09:48:53.731 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.732 +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 09:48:53.731 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2(id int)"]
[2024/05/06 09:48:53.741 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=9] [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 09:48:53.731 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=209.74ยตs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:53.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53]
[2024/05/06 09:48:53.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=53] ["take time"=4.390498ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.731 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.762 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=107] [conn=9] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.731 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107]
[2024/05/06 09:48:53.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.767 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=53] [cur_db=test] [sql="rename table t1 to t3, t2 to t4"] [user=]
[2024/05/06 09:48:53.773 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.773 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t1 to t3, t2 to t4"]
[2024/05/06 09:48:53.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=9] [category=ddl] [job="ID:108, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.783 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=279.544ยตs] [gotSchemaVersion=54] [phyTblIDs="[104,106]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:53.784 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54]
[2024/05/06 09:48:53.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=54] ["take time"=3.110407ms] [job="ID:108, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=9] [category=ddl] [job="ID:108, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.799 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=356.291ยตs] [gotSchemaVersion=55] [phyTblIDs="[104,106]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:53.800 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55]
[2024/05/06 09:48:53.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=55] ["take time"=15.267294ms] [job="ID:108, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.822 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=9] [job="ID:108, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.768 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.828 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108]
[2024/05/06 09:48:53.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.829 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=55] [cur_db=test] [sql="drop table t3, t4"] [user=]
[2024/05/06 09:48:53.832 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.832 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t3, t4"]
[2024/05/06 09:48:53.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=9] [category=ddl] [job="ID:109, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=75.964ยตs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.849 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=56]
[2024/05/06 09:48:53.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=56] ["take time"=10.318176ms] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.875 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=9] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.878 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=44.869ยตs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.879 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=57]
[2024/05/06 09:48:53.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=4.162534ms] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.888 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=9] [category=ddl] [job="ID:109, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.890 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=52.988ยตs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.892 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=58]
[2024/05/06 09:48:53.908 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=17.88473ms] [job="ID:109, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.917 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=109] [tableIDs="[104]"] [comment="drop table: table ID"]
[2024/05/06 09:48:53.921 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=109] [jobType="drop table"]
[2024/05/06 09:48:53.921 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=9] [job="ID:109, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:53.83 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.939 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=109] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069]
[2024/05/06 09:48:53.939 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109]
[2024/05/06 09:48:53.940 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:53.957 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:53.957 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t3, t4"]
[2024/05/06 09:48:53.965 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=9] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.967 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=81.768ยตs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=59]
[2024/05/06 09:48:53.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=59] ["take time"=2.679715ms] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.976 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=9] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.978 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=44.28ยตs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.980 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=60]
[2024/05/06 09:48:53.982 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=3.64146ms] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=9] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:53.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=45.732ยตs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:53.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=61]
[2024/05/06 09:48:54.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=61] ["take time"=7.289877ms] [job="ID:110, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.012 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=110] [tableIDs="[106]"] [comment="drop table: table ID"]
[2024/05/06 09:48:54.013 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop table"]
[2024/05/06 09:48:54.013 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=9] [job="ID:110, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:53.941 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.019 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b]
[2024/05/06 09:48:54.021 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110]
[2024/05/06 09:48:54.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.022 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=61] [cur_db=test] [sql="create table t1 (c1 int, c2 int)"] [user=]
[2024/05/06 09:48:54.034 +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 09:48:54.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.034 +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 09:48:54.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (c1 int, c2 int)"]
[2024/05/06 09:48:54.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=9] [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 09:48:54.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.052 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=245.575ยตs] [gotSchemaVersion=62] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.054 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=62]
[2024/05/06 09:48:54.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=62] ["take time"=2.121243ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.062 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=9] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.023 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.068 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112]
[2024/05/06 09:48:54.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.075 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=62] [cur_db=test] [sql="create table t2 (c1 int, c2 int)"] [user=]
[2024/05/06 09:48:54.078 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.078 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2 (c1 int, c2 int)"]
[2024/05/06 09:48:54.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=9] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.089 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=226.993ยตs] [gotSchemaVersion=63] [phyTblIDs="[113]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.090 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63]
[2024/05/06 09:48:54.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=63] ["take time"=2.395202ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.098 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=9] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.105 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114]
[2024/05/06 09:48:54.105 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.109 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=63] [cur_db=test] [sql="create database test1"] [user=]
[2024/05/06 09:48:54.111 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create schema, State:queueing, SchemaState:none, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.11 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.111 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:create schema, State:queueing, SchemaState:none, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.11 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test1"]
[2024/05/06 09:48:54.122 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=116] [conn=9] [category=ddl] [job="ID:116, Type:create schema, State:queueing, SchemaState:none, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.11 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.124 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=93.487ยตs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:54.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=64]
[2024/05/06 09:48:54.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=64] ["take time"=2.995613ms] [job="ID:116, Type:create schema, State:done, SchemaState:public, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.11 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.135 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=116] [conn=9] [job="ID:116, Type:create schema, State:synced, SchemaState:public, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.11 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.142 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116]
[2024/05/06 09:48:54.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.143 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=64] [cur_db=test1] [sql="rename table test.t1 to test1.t1, test.t2 to test1.t2"] [user=]
[2024/05/06 09:48:54.150 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.150 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table test.t1 to test1.t1, test.t2 to test1.t2"]
[2024/05/06 09:48:54.159 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=9] [category=ddl] [job="ID:117, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.162 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=360.436ยตs] [gotSchemaVersion=65] [phyTblIDs="[111,113]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.163 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=65]
[2024/05/06 09:48:54.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=65] ["take time"=22.054056ms] [job="ID:117, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=9] [category=ddl] [job="ID:117, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=396.717ยตs] [gotSchemaVersion=66] [phyTblIDs="[111,113]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.197 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=66]
[2024/05/06 09:48:54.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=66] ["take time"=6.405059ms] [job="ID:117, Type:rename tables, State:done, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.210 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=117] [conn=9] [job="ID:117, Type:rename tables, State:synced, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.215 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117]
[2024/05/06 09:48:54.215 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.218 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=66] [cur_db=test1] [sql="rename table test1.t1 to test1.t3, test1.t2 to test1.t4"] [user=]
[2024/05/06 09:48:54.220 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.220 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:118, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table test1.t1 to test1.t3, test1.t2 to test1.t4"]
[2024/05/06 09:48:54.230 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=9] [category=ddl] [job="ID:118, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=443.714ยตs] [gotSchemaVersion=67] [phyTblIDs="[111,113]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=67]
[2024/05/06 09:48:54.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=67] ["take time"=2.008721ms] [job="ID:118, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.245 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=9] [category=ddl] [job="ID:118, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=409.583ยตs] [gotSchemaVersion=68] [phyTblIDs="[111,113]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.260 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=68]
[2024/05/06 09:48:54.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=68] ["take time"=4.212361ms] [job="ID:118, Type:rename tables, State:done, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.270 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=118] [conn=9] [job="ID:118, Type:rename tables, State:synced, SchemaState:public, SchemaID:115, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.218 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.275 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=118]
[2024/05/06 09:48:54.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.278 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=68] [cur_db=test1] [sql="create table t5 (c1 int, c2 int)"] [user=]
[2024/05/06 09:48:54.280 +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:115, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.279 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.281 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:115, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.279 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t5 (c1 int, c2 int)"]
[2024/05/06 09:48:54.289 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=120] [conn=9] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:115, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.279 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.294 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=239.758ยตs] [gotSchemaVersion=69] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.295 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=69]
[2024/05/06 09:48:54.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=69] ["take time"=4.510281ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.279 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.308 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=120] [conn=9] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.279 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.312 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=120]
[2024/05/06 09:48:54.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.317 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=69] [cur_db=test1] [sql="rename table test1.t3 to test1.t1, test1.t4 to test1.t2, test1.t5 to test1.t3"] [user=]
[2024/05/06 09:48:54.320 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.320 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:121, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table test1.t3 to test1.t1, test1.t4 to test1.t2, test1.t5 to test1.t3"]
[2024/05/06 09:48:54.332 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=9] [category=ddl] [job="ID:121, Type:rename tables, State:queueing, SchemaState:none, SchemaID:115, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.344 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=580.636ยตs] [gotSchemaVersion=70] [phyTblIDs="[111,113,119]"] [actionTypes="[47,47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.346 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=70]
[2024/05/06 09:48:54.349 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=5.844703ms] [job="ID:121, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.358 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=9] [category=ddl] [job="ID:121, Type:rename tables, State:running, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=625.382ยตs] [gotSchemaVersion=71] [phyTblIDs="[111,113,119]"] [actionTypes="[47,47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.364 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=71]
[2024/05/06 09:48:54.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=71] ["take time"=4.504407ms] [job="ID:121, Type:rename tables, State:done, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.372 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=121] [conn=9] [job="ID:121, Type:rename tables, State:synced, SchemaState:public, SchemaID:115, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.318 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.376 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=121]
[2024/05/06 09:48:54.376 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.377 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=71] [cur_db=test] [sql="rename table test1.t1 to test.t2, test1.t2 to test.t3, test1.t3 to test.t4"] [user=]
[2024/05/06 09:48:54.380 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.380 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:122, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table test1.t1 to test.t2, test1.t2 to test.t3, test1.t3 to test.t4"]
[2024/05/06 09:48:54.388 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=122] [conn=9] [category=ddl] [job="ID:122, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.397 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=596.422ยตs] [gotSchemaVersion=72] [phyTblIDs="[111,113,119]"] [actionTypes="[47,47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.399 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72]
[2024/05/06 09:48:54.400 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=4.06217ms] [job="ID:122, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.415 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=122] [conn=9] [category=ddl] [job="ID:122, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.425 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=577.786ยตs] [gotSchemaVersion=73] [phyTblIDs="[111,113,119]"] [actionTypes="[47,47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:48:54.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73]
[2024/05/06 09:48:54.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=73] ["take time"=8.814454ms] [job="ID:122, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:5, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.434 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=122] [conn=9] [job="ID:122, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.378 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.440 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=122]
[2024/05/06 09:48:54.440 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.441 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=73] [cur_db=test] [sql="rename table test_not_exist.t to test_not_exist.t, test_not_exist.t to test_not_exist.t"] [user=]
[2024/05/06 09:48:54.441 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:48:54.442 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=73] [error="[schema:1146]Table 'test_not_exist.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test_not_exist.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:7282\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7230\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:355\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.TestRenameMultiTables\n\tpkg/ddl/db_rename_test.go:271\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n  \"currDBName\": \"test\",\n  \"id\": 9,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
[2024/05/06 09:48:54.442 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=73] [cur_db=test] [sql="rename table test.test_not_exist to test.test_not_exist, test.test_not_exist to test.test_not_exist"] [user=]
[2024/05/06 09:48:54.442 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:48:54.442 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=73] [error="[schema:1146]Table 'test.test_not_exist' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.test_not_exist' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:7291\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7230\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:355\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.TestRenameMultiTables\n\tpkg/ddl/db_rename_test.go:273\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n  \"currDBName\": \"test\",\n  \"id\": 9,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
[2024/05/06 09:48:54.442 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=73] [cur_db=test] [sql="rename table test.t_not_exist to test_not_exist.t, test.t_not_exist to test_not_exist.t"] [user=]
[2024/05/06 09:48:54.443 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:48:54.443 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=73] [error="[schema:1146]Table 'test.t_not_exist' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t_not_exist' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:7291\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7230\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:355\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.TestRenameMultiTables\n\tpkg/ddl/db_rename_test.go:275\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n  \"currDBName\": \"test\",\n  \"id\": 9,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
[2024/05/06 09:48:54.443 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=73] [cur_db=test] [sql="rename table test1.t2 to test_not_exist.t, test1.t2 to test_not_exist.t"] [user=]
[2024/05/06 09:48:54.443 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:48:54.443 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=73] [error="[schema:1146]Table 'test1.t2' doesn't exist"] [errorVerbose="[schema:1146]Table 'test1.t2' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.ExtractTblInfos\n\tpkg/ddl/ddl_api.go:7291\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7230\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).RenameTable\n\tpkg/ddl/schematracker/checker.go:355\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.TestRenameMultiTables\n\tpkg/ddl/db_rename_test.go:277\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n  \"currDBName\": \"test\",\n  \"id\": 9,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
[2024/05/06 09:48:54.444 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=73] [cur_db=test] [sql="drop database test1"] [user=]
[2024/05/06 09:48:54.446 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.446 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test1"]
[2024/05/06 09:48:54.453 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=9] [category=ddl] [job="ID:123, Type:drop schema, State:queueing, SchemaState:public, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.458 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=100.063ยตs] [gotSchemaVersion=74] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.460 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=74]
[2024/05/06 09:48:54.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=74] ["take time"=2.394853ms] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:115, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.466 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=9] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:write only, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.468 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=39.496ยตs] [gotSchemaVersion=75] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.469 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75]
[2024/05/06 09:48:54.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=75] ["take time"=11.765493ms] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.504 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=9] [category=ddl] [job="ID:123, Type:drop schema, State:running, SchemaState:delete only, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.515 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=42.348ยตs] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.517 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76]
[2024/05/06 09:48:54.518 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=2.776287ms] [job="ID:123, Type:drop schema, State:done, SchemaState:none, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.524 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop schema"]
[2024/05/06 09:48:54.524 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=123] [conn=9] [job="ID:123, Type:drop schema, State:synced, SchemaState:none, SchemaID:115, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.445 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=123]
[2024/05/06 09:48:54.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.534 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=76] [cur_db=test] [sql="drop database test"] [user=]
[2024/05/06 09:48:54.536 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.536 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test"]
[2024/05/06 09:48:54.544 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=9] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.547 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=323.488ยตs] [gotSchemaVersion=77] [phyTblIDs="[111,113,119]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.550 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=77]
[2024/05/06 09:48:54.551 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=4.048634ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.567 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=9] [category=ddl] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.569 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=31.965ยตs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.570 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=78]
[2024/05/06 09:48:54.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=78] ["take time"=6.000153ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.585 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=9] [category=ddl] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.588 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=42.419ยตs] [gotSchemaVersion=79] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:48:54.589 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79]
[2024/05/06 09:48:54.590 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=2.093086ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.618 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[111,113]"] [comment="drop schema: table IDs"]
[2024/05/06 09:48:54.619 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[119]"] [comment="drop schema: table IDs"]
[2024/05/06 09:48:54.620 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"]
[2024/05/06 09:48:54.621 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=124] [conn=9] [job="ID:124, Type:drop schema, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.627 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000006f] [endKey=748000000000000070]
[2024/05/06 09:48:54.630 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=2] [startKey=748000000000000071] [endKey=748000000000000072]
[2024/05/06 09:48:54.630 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124]
[2024/05/06 09:48:54.630 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.630 +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 09:48:54.630 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:54.633 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=3.708ยตs]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=986ns]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.2ยตs]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=1.16ยตs]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=1.04ยตs]
[2024/05/06 09:48:54.633 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:54.633 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:54.633 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=3] [startKey=748000000000000077] [endKey=748000000000000078]
[2024/05/06 09:48:54.633 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:54.634 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a] ["take time"=3.555818ms]
[2024/05/06 09:48:54.634 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a]
[2024/05/06 09:48:54.634 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:48:54.634 +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 09:48:54.634 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:54.634 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:54.634 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:54.634 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:54.634 +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 09:48:54.634 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:54.634 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:48:54.635 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:54.635 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:54.635 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:54.635 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:54.635 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:54.635 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:48:54.635 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:54.636 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8310123f-6605-44c5-b10c-43129691115a] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:54.636 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:48:54.636 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:54.636 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.779826ms]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:48:54.638 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestRenameMultiTables (3.98s)
=== RUN   TestIsJobRollbackable
--- PASS: TestIsJobRollbackable (0.00s)
=== RUN   TestAddUniqueIndexRollback
[2024/05/06 09:48:54.643 +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 09:48:54.643 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:54.643 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:54.644 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:54.644 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:54.644 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:54.646 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f151ac97-6546-4de3-b6c9-b6e85fc1441a] ["ddl lease"=600ms] ["stats lease"=-1ns]
[2024/05/06 09:48:54.654 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:54.654 +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 09:48:54.654 +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.testAddIndexRollback\n\tpkg/ddl/index_modify_test.go:393\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddUniqueIndexRollback\n\tpkg/ddl/index_modify_test.go:389\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:54.675 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.695199ms]
[2024/05/06 09:48:54.676 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:54.676 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=da5e0805-8a0e-4d24-bc09-b510c457ca7f] [runWorker=true]
[2024/05/06 09:48:54.676 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:54.676 +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 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:54.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:54.676 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:54.678 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:54.678 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:54.678 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:54.678 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:54.680 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:54.680 +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 09:48:54.683 +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 09:48:54.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.683 +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 09:48:54.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:54.736 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:54.736 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:54.752 +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 09:48:54.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.774 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.654255ms]
[2024/05/06 09:48:54.776 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:54.777 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:54.777 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:54.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=1] ["take time"=26.418568ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:54.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.797 +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 09:48:54.682 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.806 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:54.806 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.807 +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 09:48:54.808 +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 09:48:54.817 +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 09:48:54.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.817 +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 09:48:54.811 +0000 UTC, Err:<nil>, 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 09:48:54.825 +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 09:48:54.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.836 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.25296ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:54.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:54.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=2] ["take time"=4.657288ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.848 +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 09:48:54.811 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.859 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:54.859 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.859 +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 09:48:54.862 +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 09:48:54.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.862 +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 09:48:54.861 +0000 UTC, Err:<nil>, 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 09:48:54.870 +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 09:48:54.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=352.46ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.877 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:54.877 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:54.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=3] ["take time"=6.089521ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.911 +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 09:48:54.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.919 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:54.919 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.919 +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 09:48:54.922 +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 09:48:54.921 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:54.922 +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 09:48:54.921 +0000 UTC, Err:<nil>, 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 09:48:54.958 +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 09:48:54.921 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.969 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=281.389ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:54.970 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:54.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:54.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=4] ["take time"=2.927973ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.921 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.985 +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 09:48:54.921 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:54.992 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:54.992 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:54.993 +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 09:48:55.004 +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 09:48:54.994 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.004 +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 09:48:54.994 +0000 UTC, Err:<nil>, 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 09:48:55.012 +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 09:48:54.994 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=760.807ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.020 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.020 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:55.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=5] ["take time"=28.156845ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:54.994 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.072 +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 09:48:54.994 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.079 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:55.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.080 +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 09:48:55.087 +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 09:48:55.084 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.087 +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 09:48:55.084 +0000 UTC, Err:<nil>, 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 09:48:55.122 +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 09:48:55.084 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.153 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=609.032ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.155 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:55.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=6] ["take time"=4.146792ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.084 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.178 +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 09:48:55.084 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.225 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:55.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.227 +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 09:48:55.264 +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 09:48:55.251 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.264 +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 09:48:55.251 +0000 UTC, Err:<nil>, 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 09:48:55.314 +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 09:48:55.251 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=444.29ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.319 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.319 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:55.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=7] ["take time"=4.492029ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.251 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.331 +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 09:48:55.251 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.335 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:55.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.336 +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 09:48:55.339 +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 09:48:55.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.339 +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 09:48:55.338 +0000 UTC, Err:<nil>, 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 09:48:55.368 +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 09:48:55.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=257.732ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.375 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:55.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=8] ["take time"=7.553668ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.405 +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 09:48:55.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.409 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:55.409 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.409 +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 09:48:55.420 +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 09:48:55.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.420 +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 09:48:55.411 +0000 UTC, Err:<nil>, 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 09:48:55.433 +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 09:48:55.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=341.535ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.441 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.441 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:55.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=9] ["take time"=2.829716ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.449 +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 09:48:55.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.454 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:55.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.454 +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 09:48:55.457 +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 09:48:55.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.457 +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 09:48:55.456 +0000 UTC, Err:<nil>, 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 09:48:55.464 +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 09:48:55.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.468 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=392.458ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.469 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.469 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:55.469 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.051381ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.496 +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 09:48:55.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.505 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:55.505 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.505 +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 09:48:55.512 +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 09:48:55.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.512 +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 09:48:55.509 +0000 UTC, Err:<nil>, 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 09:48:55.524 +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 09:48:55.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.529 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=330.095ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.531 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.531 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:55.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.084001ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.539 +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 09:48:55.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.543 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:55.543 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.544 +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 09:48:55.544 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:55.552 +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 09:48:55.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.552 +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 09:48:55.546 +0000 UTC, Err:<nil>, 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 09:48:55.563 +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 09:48:55.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.568 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=543.322ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.569 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.569 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48: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=12] ["take time"=6.981087ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.594 +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 09:48:55.546 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.602 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:55.602 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.602 +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 09:48:55.610 +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 09:48:55.608 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.610 +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 09:48:55.608 +0000 UTC, Err:<nil>, 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 09:48:55.624 +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 09:48:55.608 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.628 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=439.134ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.629 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.629 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:55.632 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.400508ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.608 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.643 +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 09:48:55.608 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.650 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:55.652 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.653 +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 09:48:55.656 +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 09:48:55.655 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.656 +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 09:48:55.655 +0000 UTC, Err:<nil>, 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 09:48:55.663 +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 09:48:55.655 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.666 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=270.214ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.667 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.667 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:55.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=14] ["take time"=3.475949ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.655 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.676 +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 09:48:55.655 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.681 +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 09:48:55.684 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:48:55.684 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.684 +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 09:48:55.688 +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 09:48:55.686 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.688 +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 09:48:55.686 +0000 UTC, Err:<nil>, 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 09:48:55.697 +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 09:48:55.686 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.703 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=356.565ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.704 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.704 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:48:55.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=15] ["take time"=6.894249ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.686 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.718 +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 09:48:55.686 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.726 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:48:55.726 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.726 +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 09:48:55.738 +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 09:48:55.736 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.738 +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 09:48:55.736 +0000 UTC, Err:<nil>, 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 09:48:55.753 +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 09:48:55.736 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=294.593ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.761 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.761 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:48:55.764 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.8635ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.736 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.776 +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 09:48:55.736 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:48:55.780 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.781 +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 09:48:55.786 +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 09:48:55.783 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.786 +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 09:48:55.783 +0000 UTC, Err:<nil>, 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 09:48:55.792 +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 09:48:55.783 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.796 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=350.049ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.797 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:48:55.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.065025ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.783 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.805 +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 09:48:55.783 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.809 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:48:55.809 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.810 +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 09:48:55.818 +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 09:48:55.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.818 +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 09:48:55.816 +0000 UTC, Err:<nil>, 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 09:48:55.827 +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 09:48:55.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.836 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=322.438ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:48:55.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=18] ["take time"=2.860575ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.845 +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 09:48:55.816 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:48:55.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.849 +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 09:48:55.854 +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 09:48:55.852 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.854 +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 09:48:55.852 +0000 UTC, Err:<nil>, 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 09:48:55.865 +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 09:48:55.852 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=528.61ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.871 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.871 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:48:55.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=19] ["take time"=5.17191ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.852 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.883 +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 09:48:55.852 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.892 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:48:55.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.894 +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 09:48:55.897 +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 09:48:55.896 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.897 +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 09:48:55.896 +0000 UTC, Err:<nil>, 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 09:48:55.919 +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 09:48:55.896 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.930 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=321.16ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:55.932 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:55.932 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:48:55.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=20] ["take time"=2.081997ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.896 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.938 +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 09:48:55.896 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:55.943 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:48:55.943 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:55.943 +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 09:48:55.946 +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 09:48:55.945 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:55.946 +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 09:48:55.945 +0000 UTC, Err:<nil>, 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 09:48:55.995 +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 09:48:55.945 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=340.248ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.004 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:48: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=21] ["take time"=8.126585ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:55.945 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.016 +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 09:48:55.945 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.022 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:48:56.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.022 +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 09:48:56.036 +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 09:48:56.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.036 +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 09:48:56.028 +0000 UTC, Err:<nil>, 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 09:48:56.046 +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 09:48:56.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.049 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=222.24ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.050 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.050 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:48:56.063 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=14.628668ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.072 +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 09:48:56.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.085 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:48:56.085 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.085 +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 09:48:56.088 +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 09:48:56.087 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.088 +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 09:48:56.087 +0000 UTC, Err:<nil>, 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 09:48:56.101 +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 09:48:56.087 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.109 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=448.703ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.111 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.111 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:48:56.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=23] ["take time"=13.659651ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.087 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.137 +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 09:48:56.087 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.142 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:48:56.142 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.142 +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 09:48:56.145 +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 09:48:56.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.145 +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 09:48:56.144 +0000 UTC, Err:<nil>, 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 09:48:56.162 +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 09:48:56.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=331.379ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.166 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.166 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:48:56.167 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.0376ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.186 +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 09:48:56.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.195 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:48:56.195 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.196 +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 09:48:56.199 +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 09:48:56.197 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.199 +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 09:48:56.197 +0000 UTC, Err:<nil>, 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 09:48:56.207 +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 09:48:56.197 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.217 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=360.234ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.219 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:48: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=25] ["take time"=2.11333ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.197 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.228 +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 09:48:56.197 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.234 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:48:56.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.235 +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 09:48:56.239 +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 09:48:56.237 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.239 +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 09:48:56.237 +0000 UTC, Err:<nil>, 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 09:48:56.246 +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 09:48:56.237 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.249 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=260.198ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.251 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.251 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:48:56.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=26] ["take time"=2.961776ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.237 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.258 +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 09:48:56.237 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.263 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:48:56.263 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.263 +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 09:48:56.266 +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 09:48:56.265 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.266 +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 09:48:56.265 +0000 UTC, Err:<nil>, 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 09:48:56.280 +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 09:48:56.265 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.286 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=317.412ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.288 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.288 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:48:56.292 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=6.067604ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.265 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.301 +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 09:48:56.265 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.308 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:48:56.308 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.308 +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 09:48:56.312 +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 09:48:56.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.312 +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 09:48:56.31 +0000 UTC, Err:<nil>, 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 09:48:56.334 +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 09:48:56.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=316.456ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.343 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.343 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:48:56.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=28] ["take time"=21.057132ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.377 +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 09:48:56.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.381 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:48:56.381 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.382 +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 09:48:56.382 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:56.385 +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 09:48:56.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.385 +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 09:48:56.384 +0000 UTC, Err:<nil>, 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 09:48:56.394 +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 09:48:56.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.398 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=370.441ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.400 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.400 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:48:56.400 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.804826ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.423 +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 09:48:56.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.430 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:48:56.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.430 +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 09:48:56.438 +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 09:48:56.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.438 +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 09:48:56.436 +0000 UTC, Err:<nil>, 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 09:48:56.468 +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 09:48:56.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.472 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=398.508ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.473 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.473 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:48:56.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=30] ["take time"=2.018087ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.479 +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 09:48:56.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.486 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:48:56.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.486 +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 09:48:56.500 +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 09:48:56.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.500 +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 09:48:56.498 +0000 UTC, Err:<nil>, 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 09:48:56.513 +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 09:48:56.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=432.09ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.521 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:48:56.521 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.045806ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.527 +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 09:48:56.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.532 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:48:56.532 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.532 +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 09:48:56.536 +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 09:48:56.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.536 +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 09:48:56.534 +0000 UTC, Err:<nil>, 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 09:48:56.550 +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 09:48:56.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.559 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=576.913ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.560 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.560 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:48:56.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=32] ["take time"=9.769455ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.580 +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 09:48:56.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.585 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:48:56.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.586 +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 09:48:56.589 +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 09:48:56.587 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.589 +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 09:48:56.587 +0000 UTC, Err:<nil>, 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 09:48:56.598 +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 09:48:56.587 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.601 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=251.159ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.602 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.602 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:48:56.602 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.04473ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.587 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.616 +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 09:48:56.587 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.622 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:48:56.622 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.629 +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 09:48:56.627 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.629 +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 09:48:56.627 +0000 UTC, Err:<nil>, 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 09:48:56.638 +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 09:48:56.627 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=306.916ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:56.643 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:48:56.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=34] ["take time"=2.490853ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:56.627 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.651 +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 09:48:56.627 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.658 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:48:56.658 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.658 +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 09:48:56.662 +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 09:48:56.66 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.662 +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 09:48:56.66 +0000 UTC, Err:<nil>, 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 09:48:56.670 +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 09:48:56.66 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.674 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=262.273ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.675 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.675 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:48:56.676 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.335921ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.66 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.682 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:48:56.693 +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 09:48:56.66 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.698 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:48:56.698 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.699 +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 09:48:56.703 +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 09:48:56.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.703 +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 09:48:56.701 +0000 UTC, Err:<nil>, 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 09:48:56.714 +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 09:48:56.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.723 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=307.341ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.725 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.725 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:48:56.725 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.546599ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.733 +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 09:48:56.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.738 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:48:56.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.738 +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 09:48:56.748 +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 09:48:56.74 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.748 +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 09:48:56.74 +0000 UTC, Err:<nil>, 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 09:48:56.762 +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 09:48:56.74 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.767 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=277.972ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.769 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:48:56.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=37] ["take time"=2.009013ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.74 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.777 +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 09:48:56.74 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.781 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:48:56.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.782 +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 09:48:56.786 +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 09:48:56.784 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.786 +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 09:48:56.784 +0000 UTC, Err:<nil>, 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 09:48:56.796 +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 09:48:56.784 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.802 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=523.587ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.804 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:48:56.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=38] ["take time"=2.060913ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.784 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.811 +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 09:48:56.784 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.829 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:48:56.829 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.829 +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 09:48:56.833 +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 09:48:56.831 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.833 +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 09:48:56.831 +0000 UTC, Err:<nil>, 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 09:48:56.843 +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 09:48:56.831 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=486.393ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.850 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.850 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:48:56.853 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=5.759408ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.831 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.871 +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 09:48:56.831 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.876 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:48:56.876 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.876 +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 09:48:56.889 +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 09:48:56.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.889 +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 09:48:56.887 +0000 UTC, Err:<nil>, 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 09:48:56.908 +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 09:48:56.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.915 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=570.318ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:56.916 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:56.916 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:48:56.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=40] ["take time"=17.760407ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.958 +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 09:48:56.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.967 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:48:56.967 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:56.967 +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 09:48:56.972 +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 09:48:56.97 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:56.972 +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 09:48:56.97 +0000 UTC, Err:<nil>, 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 09:48:56.986 +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 09:48:56.97 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:56.999 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=562.621ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.000 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:48:57.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=6.520928ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:56.97 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.013 +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 09:48:56.97 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.018 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:48:57.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.019 +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 09:48:57.046 +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 09:48:57.026 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.046 +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 09:48:57.026 +0000 UTC, Err:<nil>, 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 09:48:57.060 +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 09:48:57.026 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=596.109ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.069 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.069 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:48:57.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=42] ["take time"=10.490316ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.026 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.085 +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 09:48:57.026 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.092 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:48:57.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.093 +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 09:48:57.099 +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 09:48:57.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.099 +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 09:48:57.094 +0000 UTC, Err:<nil>, 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 09:48:57.114 +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 09:48:57.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.121 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=649.951ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.123 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.123 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:48:57.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=43] ["take time"=7.350982ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.137 +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 09:48:57.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.148 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:48:57.148 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.149 +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 09:48:57.152 +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 09:48:57.15 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.153 +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 09:48:57.15 +0000 UTC, Err:<nil>, 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 09:48:57.170 +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 09:48:57.15 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.179 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=511.408ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.180 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.180 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:48:57.182 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.124531ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.15 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.195 +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 09:48:57.15 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.202 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:48:57.202 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.203 +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 09:48:57.213 +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 09:48:57.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.213 +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 09:48:57.204 +0000 UTC, Err:<nil>, 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 09:48:57.223 +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 09:48:57.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.227 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=411.518ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.229 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.229 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:48:57.232 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=5.468459ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.247 +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 09:48:57.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.253 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:48:57.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.254 +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 09:48:57.259 +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 09:48:57.256 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.259 +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 09:48:57.256 +0000 UTC, Err:<nil>, 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 09:48:57.270 +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 09:48:57.256 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=853.861ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.280 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.280 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:48:57.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=46] ["take time"=5.628507ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.256 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.293 +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 09:48:57.256 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.298 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:48:57.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.298 +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 09:48:57.305 +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 09:48:57.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.305 +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 09:48:57.3 +0000 UTC, Err:<nil>, 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 09:48:57.316 +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 09:48:57.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.320 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=441.087ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.321 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.321 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:48:57.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=47] ["take time"=18.456371ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.347 +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 09:48:57.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.359 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:48:57.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.360 +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 09:48:57.363 +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 09:48:57.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.363 +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 09:48:57.361 +0000 UTC, Err:<nil>, 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 09:48:57.373 +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 09:48:57.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.378 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=293.303ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.381 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:48:57.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=48] ["take time"=3.399921ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.393 +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 09:48:57.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.399 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:48:57.399 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.399 +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 09:48:57.410 +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 09:48:57.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.411 +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 09:48:57.404 +0000 UTC, Err:<nil>, 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 09:48:57.421 +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 09:48:57.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.424 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=347.213ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.426 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:48:57.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=49] ["take time"=2.993491ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.442 +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 09:48:57.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.446 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:48:57.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.447 +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 09:48:57.454 +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 09:48:57.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.454 +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 09:48:57.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:48:57.488 +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 09:48:57.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.491 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.29ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:48:57.492 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.492 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:48:57.492 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.030399ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:57.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.498 +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 09:48:57.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.503 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:48:57.503 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.507 +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 09:48:57.505 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.507 +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 09:48:57.505 +0000 UTC, Err:<nil>, 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 09:48:57.519 +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 09:48:57.505 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.523 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=277.615ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:48:57.524 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:57.524 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:48:57.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=51] ["take time"=2.019854ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:57.505 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.530 +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 09:48:57.505 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.535 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:48:57.536 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.588 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.911215358s]
[2024/05/06 09:48:57.591 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=da5e0805-8a0e-4d24-bc09-b510c457ca7f] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=3.333ยตs]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=2.282ยตs]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=2.384ยตs]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=2.429ยตs]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.014ยตs]
[2024/05/06 09:48:57.591 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:57.591 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:57.591 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:57.596 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=da5e0805-8a0e-4d24-bc09-b510c457ca7f] ["take time"=4.843028ms]
[2024/05/06 09:48:57.596 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=da5e0805-8a0e-4d24-bc09-b510c457ca7f]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:57.596 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:57.596 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.19591ms]
[2024/05/06 09:48:57.596 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=f151ac97-6546-4de3-b6c9-b6e85fc1441a] ["ddl lease"=600ms] ["stats lease"=-1ns]
[2024/05/06 09:48:57.606 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:57.606 +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 09:48:57.643 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=36.380261ms]
[2024/05/06 09:48:57.650 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:57.650 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947] [runWorker=true]
[2024/05/06 09:48:57.651 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:57.651 +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 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:57.651 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:57.651 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:57.651 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:57.651 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:57.651 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:57.652 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:57.652 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:57.659 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:57.659 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:48:57.674 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:57.677 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:57.678 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:57.679 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:57.680 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:57.680 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:57.681 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:48:57.679 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:48:57.683 +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 09:48:57.683 +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 09:48:57.686 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:57.689 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:48:57.689 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:48:57.692 +00:00] [INFO] [set.go:170] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:48:57.693 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="create table t1 (c1 int, c2 int, c3 int, unique key(c1))"] [user=]
[2024/05/06 09:48:57.696 +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 09:48:57.695 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:57.696 +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 09:48:57.695 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (c1 int, c2 int, c3 int, unique key(c1))"]
[2024/05/06 09:48:57.704 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:57.705 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:57.713 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=10] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:57.695 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.722 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=294.525ยตs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:57.724 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:48:57.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=52] ["take time"=6.76142ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:57.695 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.738 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=10] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:57.695 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:57.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:48:57.742 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:57.923 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="create unique index c3_index on t1 (c3)"] [user=]
[2024/05/06 09:48:57.926 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:57.926 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t1 (c3)"]
[2024/05/06 09:48:57.936 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=106] [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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.936 +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 09:48:57.925 +0000 UTC, Err:<nil>, 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\":\"c3\",\"L\":\"c3\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"]
[2024/05/06 09:48:57.936 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:48:57.939 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=348.107ยตs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:57.941 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53]
[2024/05/06 09:48:57.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=53] ["take time"=5.6284ms] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=332.786ยตs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:57.958 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54]
[2024/05/06 09:48:57.958 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.097437ms] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.973 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.976 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=332.508ยตs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:57.977 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55]
[2024/05/06 09:48:57.981 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=5.332955ms] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=106] [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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:57.994 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:57.994 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000080a00]
[2024/05/06 09:48:57.999 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:58.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.009 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:58.016 +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 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000080a00,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:58.023 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000080a00]
[2024/05/06 09:48:58.023 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000080a00]
[2024/05/06 09:48:58.024 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000080a00] ["current end key"=7480000000000000685f72800000000000080a00]
[2024/05/06 09:48:58.024 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106]
[2024/05/06 09:48:58.024 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106]
[2024/05/06 09:48:58.024 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106]
[2024/05/06 09:48:58.093 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106] [error="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'"] [errorVerbose="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'\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.(*addIndexTxnWorker).batchCheckUniqueKey\n\tpkg/ddl/index.go:1632\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData.func1\n\tpkg/ddl/index.go:1870\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData\n\tpkg/ddl/index.go:1852\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"]
[2024/05/06 09:48:58.094 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=106] ["total added count"=0] ["start key"=7480000000000000685f728000000000000001] ["result next key"=7480000000000000685f72800000000000080000] [error="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'"] [errorVerbose="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'\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.(*addIndexTxnWorker).batchCheckUniqueKey\n\tpkg/ddl/index.go:1632\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData.func1\n\tpkg/ddl/index.go:1870\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData\n\tpkg/ddl/index.go:1852\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"]
[2024/05/06 09:48:58.166 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=30ms] ["total added row count"=768]
[2024/05/06 09:48:58.167 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:58.174 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:768, ArgLen:0, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.174 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=106] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:58.178 +00:00] [WARN] [reorg.go:230] ["run reorg job done"] [category=ddl] ["handled rows"=2048] [error="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'"] [errorVerbose="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'\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.(*addIndexTxnWorker).batchCheckUniqueKey\n\tpkg/ddl/index.go:1632\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData.func1\n\tpkg/ddl/index.go:1870\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData\n\tpkg/ddl/index.go:1852\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"]
[2024/05/06 09:48:58.257 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:6, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"] [error="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'"] [errorVerbose="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'\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.(*addIndexTxnWorker).batchCheckUniqueKey\n\tpkg/ddl/index.go:1632\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData.func1\n\tpkg/ddl/index.go:1870\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData\n\tpkg/ddl/index.go:1852\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"]
[2024/05/06 09:48:58.260 +00:00] [WARN] [ddl_worker.go:1147] ["run DDL job error"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [error="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'"] [errorVerbose="[kv:1062]Duplicate entry '2038' for key 't1.c3_index'\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.(*addIndexTxnWorker).batchCheckUniqueKey\n\tpkg/ddl/index.go:1632\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData.func1\n\tpkg/ddl/index.go:1870\ngithub.com/pingcap/tidb/pkg/kv.RunInNewTxn\n\tpkg/kv/txn.go:132\ngithub.com/pingcap/tidb/pkg/ddl.(*addIndexTxnWorker).BackfillData\n\tpkg/ddl/index.go:1852\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).handleBackfillTask\n\tpkg/ddl/backfilling.go:296\ngithub.com/pingcap/tidb/pkg/ddl.(*backfillWorker).run\n\tpkg/ddl/backfilling.go:395\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"]
[2024/05/06 09:48:58.264 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=391.856ยตs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.266 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56]
[2024/05/06 09:48:58.272 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.560174ms] [job="ID:106, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:2048, ArgLen:3, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:2048, ArgLen:0, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.303 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=457.633ยตs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57]
[2024/05/06 09:48:58.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=57] ["take time"=6.048295ms] [job="ID:106, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:2, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:0, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=297.814ยตs] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.333 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58]
[2024/05/06 09:48:58.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=4.23689ms] [job="ID:106, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:2048, ArgLen:2, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.344 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[2,9223090561878065154]"] [comment="add index: physical table ID(s)"]
[2024/05/06 09:48:58.346 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="add index"]
[2024/05/06 09:48:58.346 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [job="ID:106, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:2048, ArgLen:2, start time: 2024-05-06 09:48:57.925 +0000 UTC, Err:[kv:1062]Duplicate entry '2038' for key 't1.c3_index', ErrCount:1, SnapshotVersion:449574060161499136, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.349 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106]
[2024/05/06 09:48:58.356 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=106]
[2024/05/06 09:48:58.356 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:48:58.380 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=58] [cur_db=test] [sql="create unique index c3_index on t1 (c3)"] [user=]
[2024/05/06 09:48:58.381 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003]
[2024/05/06 09:48:58.386 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:48:58.386 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t1 (c3)"]
[2024/05/06 09:48:58.399 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=2] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000003]
[2024/05/06 09:48:58.399 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.400 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"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\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"]
[2024/05/06 09:48:58.400 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:48:58.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=371.943ยตs] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59]
[2024/05/06 09:48:58.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=59] ["take time"=2.060145ms] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.411 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=346.074ยตs] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.418 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60]
[2024/05/06 09:48:58.420 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=4.009731ms] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.432 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.435 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=320.855ยตs] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.437 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=61]
[2024/05/06 09:48:58.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=61] ["take time"=2.13736ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.447 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.447 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:58.448 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000080f00]
[2024/05/06 09:48:58.451 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=107]
[2024/05/06 09:48:58.462 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060280250369, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.463 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:58.465 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060280250369, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000080f00,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:58.467 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000080f00]
[2024/05/06 09:48:58.467 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000080f00]
[2024/05/06 09:48:58.468 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000080f00] ["current end key"=7480000000000000685f72800000000000080f00]
[2024/05/06 09:48:58.474 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=107]
[2024/05/06 09:48:58.474 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=107]
[2024/05/06 09:48:58.475 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=107]
[2024/05/06 09:48:58.549 +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, 7480000000000000685f72800000000000080f00), jobID: 107"] ["added count"=2048] ["scan count"=2048] ["next key"=7480000000000000685f72800000000000080f00] ["take time"=80.766986ms]
[2024/05/06 09:48:58.549 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=107]
[2024/05/06 09:48:58.549 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=2048] ["start key"=7480000000000000685f728000000000000001]
[2024/05/06 09:48:58.567 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=30ms] ["total added row count"=768]
[2024/05/06 09:48:58.568 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=107]
[2024/05/06 09:48:58.591 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:768, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060280250369, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.591 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=107] [table=t1] ["ingest mode"=false] [index=c3_index]
[2024/05/06 09:48:58.593 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2048]
[2024/05/06 09:48:58.669 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:48:58.669 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:48:58.669 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:48:58.670 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:58.685 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl]
[2024/05/06 09:48:58.686 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true]
[2024/05/06 09:48:58.689 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16]
[2024/05/06 09:48:58.697 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000]
[2024/05/06 09:48:58.697 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000]
[2024/05/06 09:48:58.697 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000]
[2024/05/06 09:48:58.697 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000]
[2024/05/06 09:48:58.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=361.306ยตs] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.715 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=62]
[2024/05/06 09:48:58.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=62] ["take time"=4.828413ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060280250369, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.727 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060280250369, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.727 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=107] [table=t1] [index=c3_index]
[2024/05/06 09:48:58.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=327.676ยตs] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.731 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=63]
[2024/05/06 09:48:58.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=63] ["take time"=11.734604ms] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.751 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff]
[2024/05/06 09:48:58.755 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=107]
[2024/05/06 09:48:58.769 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=107] [conn=10] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:0, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060359942144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.771 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:107, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2048, ArgLen:6, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060359942144, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:3,StartKey:7480000000000000685f69ffff000000000003,EndKey:7480000000000000685f69ffff000000000003ff,First:false,PhysicalTableID:104,Ingest mode:false"]
[2024/05/06 09:48:58.772 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f69ffff000000000003] ["end key"=7480000000000000685f69ffff000000000003ff]
[2024/05/06 09:48:58.772 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000003ff]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f69ffff000000000003ff] ["current end key"=7480000000000000685f69ffff00000000000300]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f69ffff000000000003, 7480000000000000685f69ffff00000000000300), jobID: 107"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000685f69ffff0000000000030000] ["take time"=135.723ยตs]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=107]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=107]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=107]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=107]
[2024/05/06 09:48:58.773 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_idx_] ["total added count"=2048] ["start key"=7480000000000000685f69ffff000000000003]
[2024/05/06 09:48:58.773 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2048]
[2024/05/06 09:48:58.851 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:48:58.854 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=358.846ยตs] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:48:58.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=64]
[2024/05/06 09:48:58.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=64] ["take time"=2.047522ms] [job="ID:107, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:2048, ArgLen:3, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060359942144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.879 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=107] [tableID=104] [indexIDs="[9223090561878065155]"] [comment="add index: physical table ID(s)"]
[2024/05/06 09:48:58.881 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="add index"]
[2024/05/06 09:48:58.881 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=107] [conn=10] [job="ID:107, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:2048, ArgLen:3, start time: 2024-05-06 09:48:58.381 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574060359942144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:48:58.886 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=107] [elementID=1] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000004]
[2024/05/06 09:48:58.889 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107]
[2024/05/06 09:48:58.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:58.889 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=64] [cur_db=test] [sql="drop table t1"] [user=]
[2024/05/06 09:48:58.893 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:58.893 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t1"]
[2024/05/06 09:48:58.908 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=108] [conn=10] [category=ddl] [job="ID:108, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.911 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=112.513ยตs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:58.913 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=65]
[2024/05/06 09:48:58.916 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=4.887662ms] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=108] [conn=10] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=58.583ยตs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:58.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=66]
[2024/05/06 09:48:58.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=66] ["take time"=2.693741ms] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=108] [conn=10] [category=ddl] [job="ID:108, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.957 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=66.222ยตs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:48:58.958 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=67]
[2024/05/06 09:48:58.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=67] ["take time"=8.984001ms] [job="ID:108, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:58.992 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=108] [tableIDs="[104]"] [comment="drop table: table ID"]
[2024/05/06 09:48:58.993 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=108] [jobType="drop table"]
[2024/05/06 09:48:58.994 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=108] [conn=10] [job="ID:108, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:48:58.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108]
[2024/05/06 09:48:59.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.037 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=1.917ยตs]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.197ยตs]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.092ยตs]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.073ยตs]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=1.011ยตs]
[2024/05/06 09:48:59.037 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:48:59.037 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:48:59.052 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=108] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069]
[2024/05/06 09:48:59.052 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:48:59.053 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947] ["take time"=16.010719ms]
[2024/05/06 09:48:59.053 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947]
[2024/05/06 09:48:59.053 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:48:59.053 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl]
[2024/05/06 09:48:59.053 +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 09:48:59.053 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:59.053 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:59.053 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:59.053 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:48:59.053 +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 09:48:59.054 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:48:59.054 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:48:59.054 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:59.054 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:59.054 +00:00] [INFO] [domain.go:1542] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=7f1561f1-efba-4a50-8c1b-4b8944562947]
[2024/05/06 09:48:59.054 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:48:59.054 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:48:59.054 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:48:59.054 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:59.054 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7f1561f1-efba-4a50-8c1b-4b8944562947] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:48:59.055 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000]
[2024/05/06 09:48:59.055 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000]
[2024/05/06 09:48:59.055 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000]
[2024/05/06 09:48:59.055 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1544] ["dist task scheduler manager stopped"] [id=7f1561f1-efba-4a50-8c1b-4b8944562947]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:48:59.055 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:48:59.055 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=18.173328ms]
[2024/05/06 09:48:59.072 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:48:59.074 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:48:59.074 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:48:59.074 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:48:59.074 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:48:59.074 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestAddUniqueIndexRollback (4.44s)
=== RUN   TestCreatePlacementPolicyWithInfo
[2024/05/06 09:48:59.079 +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 09:48:59.080 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.080 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.080 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.080 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.081 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.083 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=8a789ac8-806b-4b9f-bdff-95938868165a] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:48:59.091 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:48:59.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 09:48:59.092 +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.TestCreatePlacementPolicyWithInfo\n\tpkg/ddl/placement_policy_test.go:253\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:48:59.116 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=24.556942ms]
[2024/05/06 09:48:59.117 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:59.117 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=5299a580-4b5a-4c75-ba5b-2f44180e5e7f] [runWorker=true]
[2024/05/06 09:48:59.118 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:48:59.118 +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 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:48:59.118 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:48:59.118 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:48:59.119 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:48:59.119 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:59.119 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:48:59.119 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:48:59.120 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:48:59.120 +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 09:48:59.123 +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 09:48:59.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.123 +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 09:48:59.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:48:59.170 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:48:59.170 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:48:59.179 +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 09:48:59.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.203 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=22.390487ms]
[2024/05/06 09:48:59.205 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:48:59.207 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.207 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:48:59.208 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=27.451125ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:48:59.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.215 +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 09:48:59.122 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.218 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:48:59.218 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.219 +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 09:48:59.220 +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 09:48:59.231 +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 09:48:59.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.231 +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 09:48:59.223 +0000 UTC, Err:<nil>, 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 09:48:59.242 +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 09:48:59.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.253 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.607359ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.254 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.254 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:48:59.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=6.731686ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.268 +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 09:48:59.223 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.280 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:48:59.280 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.281 +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 09:48:59.287 +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 09:48:59.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.287 +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 09:48:59.282 +0000 UTC, Err:<nil>, 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 09:48:59.315 +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 09:48:59.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.319 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=322.124ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.322 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:48:59.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=3] ["take time"=5.943276ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.337 +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 09:48:59.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.356 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:48:59.356 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.357 +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 09:48:59.375 +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 09:48:59.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.375 +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 09:48:59.361 +0000 UTC, Err:<nil>, 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 09:48:59.393 +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 09:48:59.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.406 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=272.147ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.408 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:48:59.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=4] ["take time"=6.047684ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.427 +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 09:48:59.361 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.443 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:48:59.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.444 +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 09:48:59.457 +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 09:48:59.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.457 +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 09:48:59.446 +0000 UTC, Err:<nil>, 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 09:48:59.471 +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 09:48:59.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.481 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=625.787ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.483 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:48:59.485 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.134571ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.496 +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 09:48:59.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.502 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:48:59.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.502 +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 09:48:59.506 +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 09:48:59.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.506 +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 09:48:59.504 +0000 UTC, Err:<nil>, 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 09:48:59.515 +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 09:48:59.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=471.157ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.520 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.520 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:48:59.520 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.03647ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.534 +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 09:48:59.504 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.549 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:48:59.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.549 +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 09:48:59.558 +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 09:48:59.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.558 +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 09:48:59.556 +0000 UTC, Err:<nil>, 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 09:48:59.568 +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 09:48:59.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.584 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=437.988ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.585 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.585 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:48:59.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=7] ["take time"=7.913016ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.599 +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 09:48:59.556 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.607 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:48:59.607 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.608 +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 09:48:59.611 +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 09:48:59.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.612 +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 09:48:59.61 +0000 UTC, Err:<nil>, 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 09:48:59.621 +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 09:48:59.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.624 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=248.5ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.626 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:48:59.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=8] ["take time"=2.449351ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.637 +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 09:48:59.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.647 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:48:59.647 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.648 +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 09:48:59.652 +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 09:48:59.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.652 +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 09:48:59.65 +0000 UTC, Err:<nil>, 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 09:48:59.666 +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 09:48:59.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.677 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=301.638ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.679 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.679 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:48:59.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=9] ["take time"=3.674253ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.686 +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 09:48:59.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.692 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:48:59.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.692 +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 09:48:59.698 +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 09:48:59.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.698 +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 09:48:59.694 +0000 UTC, Err:<nil>, 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 09:48:59.709 +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 09:48:59.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=361.951ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.714 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:48:59.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=10] ["take time"=5.984939ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.744 +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 09:48:59.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.748 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:48:59.748 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.749 +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 09:48:59.765 +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 09:48:59.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.765 +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 09:48:59.761 +0000 UTC, Err:<nil>, 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 09:48:59.774 +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 09:48:59.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.778 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=418.035ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.780 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.780 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:48:59.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=11] ["take time"=15.091538ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.802 +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 09:48:59.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:48:59.819 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.819 +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 09:48:59.819 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:48:59.841 +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 09:48:59.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.841 +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 09:48:59.837 +0000 UTC, Err:<nil>, 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 09:48:59.854 +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 09:48:59.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.859 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=491.605ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.861 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.861 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:48:59.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=12] ["take time"=4.286016ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.874 +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 09:48:59.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.880 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:48:59.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.880 +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 09:48:59.885 +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 09:48:59.883 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.885 +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 09:48:59.883 +0000 UTC, Err:<nil>, 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 09:48:59.893 +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 09:48:59.883 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=484.177ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.900 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.900 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:48:59.902 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.399146ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.883 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.911 +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 09:48:59.883 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.916 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:48:59.916 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:48:59.917 +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 09:48:59.936 +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 09:48:59.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:48:59.936 +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 09:48:59.925 +0000 UTC, Err:<nil>, 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 09:48:59.972 +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 09:48:59.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.978 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=753.936ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:48:59.980 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:48:59.980 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:48:59.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=14] ["take time"=10.739568ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:48:59.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:48:59.997 +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 09:48:59.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.002 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:49:00.002 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.003 +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 09:49:00.006 +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 09:49:00.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.006 +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 09:49:00.004 +0000 UTC, Err:<nil>, 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 09:49:00.038 +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 09:49:00.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=372.783ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.049 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:49:00.050 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=6.957821ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.065 +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 09:49:00.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.080 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:49:00.080 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.081 +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 09:49:00.084 +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 09:49:00.082 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.084 +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 09:49:00.082 +0000 UTC, Err:<nil>, 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 09:49:00.098 +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 09:49:00.082 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.111 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=371.988ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.112 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.113 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:49:00.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=16] ["take time"=2.025435ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.082 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.123 +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 09:49:00.134 +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 09:49:00.082 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.138 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:49:00.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.139 +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 09:49:00.147 +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 09:49:00.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.147 +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 09:49:00.144 +0000 UTC, Err:<nil>, 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 09:49:00.164 +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 09:49:00.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.172 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=382.715ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.174 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.174 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:49: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=17] ["take time"=2.201127ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.188 +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 09:49:00.144 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.203 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:49:00.203 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.204 +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 09:49:00.209 +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 09:49:00.207 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.209 +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 09:49:00.207 +0000 UTC, Err:<nil>, 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 09:49:00.218 +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 09:49:00.207 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.228 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=335.175ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.238 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.238 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:49:00.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=18] ["take time"=10.045881ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.207 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.245 +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 09:49:00.207 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.254 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:49:00.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.255 +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 09:49:00.260 +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 09:49:00.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.260 +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 09:49:00.258 +0000 UTC, Err:<nil>, 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 09:49:00.270 +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 09:49:00.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=552.974ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.284 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.284 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:49:00.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=19] ["take time"=12.342568ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.294 +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 09:49:00.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.298 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:49:00.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.305 +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 09:49:00.308 +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 09:49:00.307 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.308 +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 09:49:00.307 +0000 UTC, Err:<nil>, 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 09:49:00.316 +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 09:49:00.307 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=351.4ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.324 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.324 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:49:00.324 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.009927ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.307 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.331 +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 09:49:00.307 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.335 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:49:00.335 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.340 +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 09:49:00.354 +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 09:49:00.345 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.354 +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 09:49:00.345 +0000 UTC, Err:<nil>, 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 09:49:00.399 +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 09:49:00.345 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.406 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=265.021ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.407 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.407 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:49:00.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.851131ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.345 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.420 +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 09:49:00.345 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.434 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:49:00.434 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.434 +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 09:49:00.438 +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 09:49:00.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.438 +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 09:49:00.436 +0000 UTC, Err:<nil>, 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 09:49:00.447 +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 09:49:00.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.453 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=222.485ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.454 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.454 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:49:00.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=22] ["take time"=5.002092ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.466 +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 09:49:00.436 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.471 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:49:00.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.472 +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 09:49:00.480 +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 09:49:00.476 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.480 +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 09:49:00.476 +0000 UTC, Err:<nil>, 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 09:49:00.500 +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 09:49:00.476 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.510 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=460.716ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.512 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.512 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:49:00.518 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=8.069798ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.476 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.525 +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 09:49:00.476 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.530 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:49:00.530 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.530 +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 09:49:00.550 +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 09:49:00.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.550 +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 09:49:00.537 +0000 UTC, Err:<nil>, 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 09:49:00.566 +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 09:49:00.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.576 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=339.08ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.577 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.577 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:49:00.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=6.992893ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.589 +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 09:49:00.537 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.596 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:49:00.596 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.597 +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 09:49:00.604 +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 09:49:00.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.604 +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 09:49:00.602 +0000 UTC, Err:<nil>, 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 09:49:00.618 +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 09:49:00.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.630 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=362.708ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.631 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.632 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:49:00.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=6.173512ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.644 +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 09:49:00.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:49:00.651 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.651 +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 09:49:00.655 +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 09:49:00.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.655 +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 09:49:00.653 +0000 UTC, Err:<nil>, 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 09:49:00.662 +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 09:49:00.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.668 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=313.68ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.669 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.669 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:49:00.670 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.029774ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.683 +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 09:49:00.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.687 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:49:00.687 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.687 +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 09:49:00.694 +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 09:49:00.689 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.694 +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 09:49:00.689 +0000 UTC, Err:<nil>, 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 09:49:00.704 +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 09:49:00.689 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.707 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=321.01ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.709 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.709 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:49:00.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=27] ["take time"=10.610681ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.689 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.728 +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 09:49:00.689 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.740 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:49:00.744 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.745 +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 09:49:00.754 +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 09:49:00.748 +0000 UTC, Err:<nil>, 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 09:49:00.754 +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 09:49:00.748 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.780 +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 09:49:00.748 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.785 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=280.801ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.787 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:49:00.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=28] ["take time"=4.047803ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.748 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.808 +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 09:49:00.748 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.813 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:49:00.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.813 +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 09:49:00.814 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:00.818 +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 09:49:00.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.818 +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 09:49:00.815 +0000 UTC, Err:<nil>, 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 09:49:00.829 +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 09:49:00.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=357.209ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:49:00.840 +00:00] [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"=6.141158ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.849 +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 09:49:00.815 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.855 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:49:00.855 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.855 +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 09:49:00.860 +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 09:49:00.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.860 +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 09:49:00.858 +0000 UTC, Err:<nil>, 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 09:49:00.873 +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 09:49:00.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.878 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=391.406ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.880 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.880 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:49:00.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.604228ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.894 +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 09:49:00.858 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.901 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:49:00.901 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.902 +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 09:49:00.912 +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 09:49:00.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.912 +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 09:49:00.907 +0000 UTC, Err:<nil>, 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 09:49:00.929 +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 09:49:00.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.934 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=404.784ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:00.936 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:00.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:49:00.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=31] ["take time"=9.934504ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.973 +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 09:49:00.907 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:00.981 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:49:00.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:00.981 +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 09:49:00.990 +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 09:49:00.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:00.990 +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 09:49:00.987 +0000 UTC, Err:<nil>, 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 09:49:01.000 +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 09:49:00.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.007 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=531.493ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.009 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:49:01.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=32] ["take time"=6.467918ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:00.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.033 +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 09:49:00.987 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.047 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:49:01.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.047 +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 09:49:01.058 +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 09:49:01.052 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.058 +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 09:49:01.052 +0000 UTC, Err:<nil>, 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 09:49:01.067 +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 09:49:01.052 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.071 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=272.181ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.072 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.073 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:49:01.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=33] ["take time"=2.314299ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.052 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.081 +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 09:49:01.052 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.087 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:49:01.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.096 +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 09:49:01.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.096 +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 09:49:01.094 +0000 UTC, Err:<nil>, 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 09:49:01.105 +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 09:49:01.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=515.975ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:49:01.117 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:49:01.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=34] ["take time"=8.715148ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:01.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.121 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:49:01.133 +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 09:49:01.094 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.139 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:49:01.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.139 +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 09:49:01.147 +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 09:49:01.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.147 +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 09:49:01.145 +0000 UTC, Err:<nil>, 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 09:49:01.159 +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 09:49:01.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.163 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=367.792ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.165 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.165 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:49:01.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=35] ["take time"=8.242447ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.188 +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 09:49:01.145 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.201 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:49:01.201 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.201 +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 09:49:01.210 +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 09:49:01.205 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.210 +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 09:49:01.205 +0000 UTC, Err:<nil>, 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 09:49:01.220 +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 09:49:01.205 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.235 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=337.868ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.236 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:49:01.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=36] ["take time"=5.995419ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.205 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.247 +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 09:49:01.205 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.253 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:49:01.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.253 +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 09:49:01.260 +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 09:49:01.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.260 +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 09:49:01.258 +0000 UTC, Err:<nil>, 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 09:49:01.273 +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 09:49:01.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.281 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=289.094ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.282 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.282 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:49:01.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=37] ["take time"=2.143941ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.295 +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 09:49:01.258 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.303 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:49:01.303 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.303 +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 09:49:01.312 +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 09:49:01.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.312 +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 09:49:01.31 +0000 UTC, Err:<nil>, 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 09:49:01.320 +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 09:49:01.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.325 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=575.646ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.326 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:49:01.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.499797ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.342 +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 09:49:01.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.348 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:49:01.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.349 +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 09:49:01.354 +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 09:49:01.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.354 +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 09:49:01.352 +0000 UTC, Err:<nil>, 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 09:49:01.373 +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 09:49:01.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.385 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=578.36ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.387 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.387 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:49:01.387 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.98162ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.411 +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 09:49:01.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.420 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:49:01.420 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.420 +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 09:49:01.429 +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 09:49:01.427 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.429 +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 09:49:01.427 +0000 UTC, Err:<nil>, 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 09:49:01.435 +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 09:49:01.427 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.440 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=611.704ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.442 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.442 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:49:01.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=40] ["take time"=10.345062ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.427 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.458 +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 09:49:01.427 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.464 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:49:01.464 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.465 +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 09:49:01.468 +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 09:49:01.466 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.468 +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 09:49:01.466 +0000 UTC, Err:<nil>, 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 09:49:01.501 +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 09:49:01.466 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.507 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=641.396ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.509 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.509 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:49:01.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=41] ["take time"=12.270709ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.466 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.534 +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 09:49:01.466 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.545 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:49:01.545 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.546 +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 09:49:01.550 +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 09:49:01.548 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.551 +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 09:49:01.548 +0000 UTC, Err:<nil>, 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 09:49:01.558 +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 09:49:01.548 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.565 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=586.839ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.566 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.566 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:49:01.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=42] ["take time"=7.119117ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.548 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.584 +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 09:49:01.548 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.591 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:49:01.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.592 +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 09:49:01.604 +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 09:49:01.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.604 +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 09:49:01.602 +0000 UTC, Err:<nil>, 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 09:49:01.619 +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 09:49:01.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.624 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=592.1ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.627 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:49:01.633 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=9.736412ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.641 +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 09:49:01.602 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.650 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:49:01.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.651 +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 09:49:01.667 +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 09:49:01.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.667 +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 09:49:01.653 +0000 UTC, Err:<nil>, 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 09:49:01.675 +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 09:49:01.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.681 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=466.945ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.685 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.685 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:49:01.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=44] ["take time"=8.351102ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.698 +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 09:49:01.653 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.703 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:49:01.703 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.704 +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 09:49:01.710 +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 09:49:01.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.710 +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 09:49:01.708 +0000 UTC, Err:<nil>, 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 09:49:01.716 +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 09:49:01.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=386.74ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.722 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:49:01.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=45] ["take time"=2.047866ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.739 +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 09:49:01.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.744 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:49:01.744 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.745 +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 09:49:01.753 +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 09:49:01.75 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.753 +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 09:49:01.75 +0000 UTC, Err:<nil>, 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 09:49:01.764 +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 09:49:01.75 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.771 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=697.105ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.773 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:49:01.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=46] ["take time"=4.712859ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.75 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.786 +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 09:49:01.75 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.794 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:49:01.794 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.794 +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 09:49:01.798 +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 09:49:01.796 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.798 +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 09:49:01.796 +0000 UTC, Err:<nil>, 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 09:49:01.811 +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 09:49:01.796 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=533.504ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.816 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.817 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:49:01.819 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.693071ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.796 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.833 +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 09:49:01.796 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.841 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:49:01.841 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.843 +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 09:49:01.847 +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 09:49:01.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.847 +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 09:49:01.845 +0000 UTC, Err:<nil>, 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 09:49:01.864 +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 09:49:01.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.869 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=317.616ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.871 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.871 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:49:01.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=48] ["take time"=2.207748ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.878 +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 09:49:01.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.884 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:49:01.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.884 +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 09:49:01.911 +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 09:49:01.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.911 +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 09:49:01.9 +0000 UTC, Err:<nil>, 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 09:49:01.945 +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 09:49:01.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.954 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=450.134ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:01.956 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:01.956 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:49:01.958 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.978846ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:01.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.972 +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 09:49:01.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:01.977 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:49:01.977 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:01.977 +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 09:49:01.980 +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 09:49:01.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:01.980 +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 09:49:01.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:49:01.999 +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 09:49:01.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=101.319ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:49:02.004 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:02.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:49:02.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=50] ["take time"=3.114485ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:01.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.021 +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 09:49:01.979 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.025 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:49:02.025 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.030 +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 09:49:02.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.030 +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 09:49:02.028 +0000 UTC, Err:<nil>, 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 09:49:02.054 +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 09:49:02.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.063 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=298.113ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:49:02.065 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:02.065 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:49:02.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=51] ["take time"=9.587054ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:02.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.084 +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 09:49:02.028 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.087 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:49:02.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.127 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:49:02.127 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:49:02.127 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:49:02.127 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:02.135 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=3.016407803s]
[2024/05/06 09:49:02.136 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5299a580-4b5a-4c75-ba5b-2f44180e5e7f] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=4.971ยตs]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=4.578ยตs]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=4.234ยตs]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=3.745ยตs]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=810ns]
[2024/05/06 09:49:02.136 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:02.136 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:49:02.136 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:49:02.141 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=5299a580-4b5a-4c75-ba5b-2f44180e5e7f] ["take time"=5.63394ms]
[2024/05/06 09:49:02.141 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=5299a580-4b5a-4c75-ba5b-2f44180e5e7f]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:49:02.141 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:02.141 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.190355ms]
[2024/05/06 09:49:02.141 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=8a789ac8-806b-4b9f-bdff-95938868165a] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:49:02.149 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:49:02.149 +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 09:49:02.189 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=39.331638ms]
[2024/05/06 09:49:02.195 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:02.195 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8] [runWorker=true]
[2024/05/06 09:49:02.196 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:49:02.196 +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 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:02.196 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:49:02.196 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:49:02.196 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:02.197 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:49:02.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:02.197 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:49:02.232 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:49:02.232 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:49:02.253 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:02.253 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:49:02.281 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:49:02.284 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:49:02.286 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:49:02.287 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:49:02.287 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:49:02.287 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:49:02.287 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:49:02.288 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:49:02.290 +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 09:49:02.290 +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 09:49:02.293 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:49:02.295 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:49:02.295 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:49:02.298 +00:00] [INFO] [set.go:170] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:49:02.299 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="drop table if exists tp"] [user=]
[2024/05/06 09:49:02.303 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p LEARNERS=1 LEARNER_CONSTRAINTS=\"[+region=cn-west-1]\" FOLLOWERS=3 FOLLOWER_CONSTRAINTS=\"[+disk=ssd]\""]
[2024/05/06 09:49:02.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=104] [conn=11] [category=ddl] [job="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=84.889ยตs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"]
[2024/05/06 09:49:02.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=104] [version=52]
[2024/05/06 09:49:02.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=52] ["take time"=8.299412ms] [job="ID:104, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.328 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=104] [conn=11] [job="ID:104, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.348 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=104]
[2024/05/06 09:49:02.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.348 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE tp(id int) placement policy p PARTITION BY RANGE (id) (\nPARTITION p0 VALUES LESS THAN (100) PLACEMENT POLICY p,\nPARTITION p1 VALUES LESS THAN (1000))"] [user=]
[2024/05/06 09:49:02.352 +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:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.351 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.352 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.351 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE tp(id int) placement policy p PARTITION BY RANGE (id) (\nPARTITION p0 VALUES LESS THAN (100) PLACEMENT POLICY p,\nPARTITION p1 VALUES LESS THAN (1000))"]
[2024/05/06 09:49:02.361 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=108] [conn=11] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.351 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.383 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=16.389598ms] [gotSchemaVersion=53] [phyTblIDs="[105,106,107]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:02.385 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53]
[2024/05/06 09:49:02.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=53] ["take time"=27.029252ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.351 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.403 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=108] [conn=11] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.351 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.410 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108]
[2024/05/06 09:49:02.410 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.413 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.413 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query=skip]
[2024/05/06 09:49:02.426 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=11] [category=ddl] [job="ID:109, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.429 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=95.168ยตs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"]
[2024/05/06 09:49:02.430 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54]
[2024/05/06 09:49:02.432 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=3.105622ms] [job="ID:109, Type:create placement policy, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.441 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=11] [job="ID:109, Type:create placement policy, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.452 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109]
[2024/05/06 09:49:02.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.490 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.490 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"]
[2024/05/06 09:49:02.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.510 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=48.121ยตs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.511 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55]
[2024/05/06 09:49:02.518 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.653217ms] [job="ID:110, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.524 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=40.641ยตs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.537 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56]
[2024/05/06 09:49:02.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=56] ["take time"=7.102821ms] [job="ID:110, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.565 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.582 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=39.296ยตs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.584 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57]
[2024/05/06 09:49:02.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=57] ["take time"=3.99488ms] [job="ID:110, Type:drop placement policy, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.597 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=110] [conn=11] [job="ID:110, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.489 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.609 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110]
[2024/05/06 09:49:02.609 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.611 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.611 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query=skip]
[2024/05/06 09:49:02.621 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=111] [conn=11] [category=ddl] [job="ID:111, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.626 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=91.406ยตs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"]
[2024/05/06 09:49:02.628 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=58]
[2024/05/06 09:49:02.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=58] ["take time"=2.177434ms] [job="ID:111, Type:create placement policy, State:done, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.636 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=111] [conn=11] [job="ID:111, Type:create placement policy, State:synced, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.61 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.643 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111]
[2024/05/06 09:49:02.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.668 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:3, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.668 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:3, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"]
[2024/05/06 09:49:02.680 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=112] [conn=11] [category=ddl] [job="ID:112, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=41.217ยตs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=59]
[2024/05/06 09:49:02.690 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.351824ms] [job="ID:112, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.695 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=112] [conn=11] [category=ddl] [job="ID:112, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=41.152ยตs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=60]
[2024/05/06 09:49:02.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=60] ["take time"=5.917715ms] [job="ID:112, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.725 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=112] [conn=11] [category=ddl] [job="ID:112, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.744 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=58.12ยตs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.745 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=61]
[2024/05/06 09:49:02.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=61] ["take time"=2.961268ms] [job="ID:112, Type:drop placement policy, State:done, SchemaState:none, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.759 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=112] [conn=11] [job="ID:112, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.667 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.762 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112]
[2024/05/06 09:49:02.762 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.768 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.768 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query=skip]
[2024/05/06 09:49:02.780 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=11] [category=ddl] [job="ID:113, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=93.452ยตs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"]
[2024/05/06 09:49:02.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=62]
[2024/05/06 09:49:02.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=62] ["take time"=10.631741ms] [job="ID:113, Type:create placement policy, State:done, SchemaState:public, SchemaID:4, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.801 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=113] [conn=11] [job="ID:113, Type:create placement policy, State:synced, SchemaState:public, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.806 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113]
[2024/05/06 09:49:02.806 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.831 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:4, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.831 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:4, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"]
[2024/05/06 09:49:02.840 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.849 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=38.363ยตs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.850 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63]
[2024/05/06 09:49:02.851 +00:00] [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.935079ms] [job="ID:114, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.879 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=44.754ยตs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=64]
[2024/05/06 09:49:02.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.740128ms] [job="ID:114, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.887 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.903 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=34.653ยตs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:02.904 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=65]
[2024/05/06 09:49:02.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=65] ["take time"=9.304545ms] [job="ID:114, Type:drop placement policy, State:done, SchemaState:none, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.920 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=114] [conn=11] [job="ID:114, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:4, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.827 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.924 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114]
[2024/05/06 09:49:02.924 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.935 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.935 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query=skip]
[2024/05/06 09:49:02.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=8.187632ms] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"]
[2024/05/06 09:49:02.978 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=66]
[2024/05/06 09:49:02.982 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=13.931481ms] [job="ID:115, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.988 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=115] [conn=11] [job="ID:115, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:02.991 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=115]
[2024/05/06 09:49:02.991 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:02.992 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=66] [cur_db=test] [sql="drop table if exists tp"] [user=]
[2024/05/06 09:49:02.994 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:02.994 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists tp"]
[2024/05/06 09:49:03.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=154.1ยตs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:49:03.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=67]
[2024/05/06 09:49:03.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=67] ["take time"=2.025159ms] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:105, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.021 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=66.968ยตs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:49:03.022 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=68]
[2024/05/06 09:49:03.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=68] ["take time"=2.122074ms] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.028 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:105, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.033 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=59.015ยตs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:49:03.035 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=69]
[2024/05/06 09:49: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=69] ["take time"=4.924226ms] [job="ID:116, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.051 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[106,107]"] [comment="drop table: partition table IDs"]
[2024/05/06 09:49:03.057 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[105]"] [comment="drop table: table ID"]
[2024/05/06 09:49:03.059 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop table"]
[2024/05/06 09:49:03.060 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=116] [conn=11] [job="ID:116, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:105, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:02.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.068 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b]
[2024/05/06 09:49:03.074 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=2] [startKey=74800000000000006b] [endKey=74800000000000006c]
[2024/05/06 09:49:03.076 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116]
[2024/05/06 09:49:03.076 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.083 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=3] [startKey=748000000000000069] [endKey=74800000000000006a]
[2024/05/06 09:49:03.095 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.095 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p"]
[2024/05/06 09:49:03.104 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=42.179ยตs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:03.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=70]
[2024/05/06 09:49:03.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=70] ["take time"=8.536128ms] [job="ID:117, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=45.739ยตs] [gotSchemaVersion=71] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:03.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=71]
[2024/05/06 09:49: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=71] ["take time"=3.076941ms] [job="ID:117, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.176 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=42.173ยตs] [gotSchemaVersion=72] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"]
[2024/05/06 09:49:03.177 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=72]
[2024/05/06 09:49:03.178 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=2.501483ms] [job="ID:117, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.186 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=117] [conn=11] [job="ID:117, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:03.086 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.190 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117]
[2024/05/06 09:49:03.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.194 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.51ยตs]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=1.014ยตs]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=940ns]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=977ns]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=756ns]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:03.195 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:49:03.195 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8] ["take time"=5.091464ms]
[2024/05/06 09:49:03.195 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8]
[2024/05/06 09:49:03.195 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:49:03.196 +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 09:49:03.196 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:03.196 +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 09:49:03.196 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:49:03.196 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:49:03.196 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:49:03.197 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=828d2f81-d4a2-4fd0-bf65-9b380ff245e8] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:03.197 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:49:03.197 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:03.199 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:49:03.199 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:49:03.199 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:49:03.199 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=8.708939ms]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:49:03.200 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- PASS: TestCreatePlacementPolicyWithInfo (4.13s)
=== RUN   TestRenameTableAutoIDs
[2024/05/06 09:49:03.208 +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 09:49:03.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:03.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:03.209 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:03.209 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:03.210 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:03.212 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7b1c7851-6971-4f43-93f0-3d14301dd1ed] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:49:03.222 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:49:03.222 +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 09:49:03.223 +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.TestRenameTableAutoIDs\n\tpkg/ddl/schema_test.go:352\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0]
[2024/05/06 09:49:03.244 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.845428ms]
[2024/05/06 09:49:03.244 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:03.244 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=e0b2108f-c5fe-48d1-8cdd-b25acf28bfa5] [runWorker=true]
[2024/05/06 09:49:03.245 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:49:03.245 +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 09:49:03.245 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:03.245 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:03.245 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:03.245 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:49:03.246 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:49:03.246 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:03.246 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:49:03.247 +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 09:49:03.250 +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 09:49:03.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.250 +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 09:49:03.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:49:03.296 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:03.296 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:49:03.305 +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 09:49:03.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.333 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=24.980871ms]
[2024/05/06 09:49:03.334 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:03.336 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:49:03.344 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=36.259341ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:03.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.356 +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 09:49:03.249 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.360 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:49:03.360 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.361 +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 09:49:03.362 +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 09:49:03.368 +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 09:49:03.363 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.368 +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 09:49:03.363 +0000 UTC, Err:<nil>, 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 09:49:03.377 +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 09:49:03.363 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.397 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.232325ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.402 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:49:03.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=2] ["take time"=9.048817ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.363 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.419 +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 09:49:03.363 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.430 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:49:03.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.431 +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 09:49:03.439 +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 09:49:03.435 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.439 +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 09:49:03.435 +0000 UTC, Err:<nil>, 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 09:49:03.446 +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 09:49:03.435 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.455 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=348.767ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.461 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.461 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:49:03.469 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=14.339203ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.435 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.482 +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 09:49:03.435 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.487 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:49:03.487 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.488 +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 09:49:03.494 +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 09:49:03.493 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.495 +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 09:49:03.493 +0000 UTC, Err:<nil>, 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 09:49:03.507 +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 09:49:03.493 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.516 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=753.659ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.519 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.519 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:49:03.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=10.044837ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.493 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.539 +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 09:49:03.493 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.552 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:49:03.552 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.553 +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 09:49:03.559 +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 09:49:03.555 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.559 +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 09:49:03.555 +0000 UTC, Err:<nil>, 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 09:49:03.568 +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 09:49:03.555 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.577 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=1.050825ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.579 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.579 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:49:03.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=5] ["take time"=8.077097ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.555 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.601 +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 09:49:03.555 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.614 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:49:03.614 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.615 +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 09:49:03.619 +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 09:49:03.617 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.619 +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 09:49:03.617 +0000 UTC, Err:<nil>, 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 09:49:03.629 +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 09:49:03.617 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.634 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=413.325ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.635 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.635 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:49:03.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=6] ["take time"=2.152669ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.617 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.642 +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 09:49:03.617 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.648 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:49:03.648 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.648 +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 09:49:03.653 +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 09:49:03.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.653 +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 09:49:03.65 +0000 UTC, Err:<nil>, 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 09:49:03.675 +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 09:49:03.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=424.606ยตs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.688 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.688 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:49:03.695 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.339242ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.707 +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 09:49:03.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.713 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:49:03.713 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.714 +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 09:49:03.725 +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 09:49:03.715 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.725 +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 09:49:03.715 +0000 UTC, Err:<nil>, 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 09:49:03.735 +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 09:49:03.715 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.738 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=298.001ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.739 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:49:03.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=8] ["take time"=2.668637ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.715 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.745 +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 09:49:03.715 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.749 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:49:03.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.750 +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 09:49:03.819 +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 09:49:03.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.819 +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 09:49:03.799 +0000 UTC, Err:<nil>, 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 09:49:03.826 +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 09:49:03.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.849 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=8.998395ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:03.852 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:03.852 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:49:03.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=9] ["take time"=12.263254ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.943 +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 09:49:03.799 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:03.964 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:49:03.964 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:03.968 +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 09:49:03.975 +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 09:49:03.974 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:03.975 +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 09:49:03.974 +0000 UTC, Err:<nil>, 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 09:49:04.003 +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 09:49:03.974 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.021 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=389.787ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.023 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:49:04.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=10] ["take time"=7.007985ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:03.974 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.038 +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 09:49:03.974 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.044 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:49:04.044 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.044 +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 09:49:04.047 +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 09:49:04.046 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.048 +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 09:49:04.046 +0000 UTC, Err:<nil>, 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 09:49:04.062 +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 09:49:04.046 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.066 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=359.912ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.067 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.067 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:49:04.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=11] ["take time"=11.442531ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.046 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.086 +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 09:49:04.046 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.098 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:49:04.098 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.099 +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 09:49:04.099 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:04.110 +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 09:49:04.107 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.111 +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 09:49:04.107 +0000 UTC, Err:<nil>, 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 09:49:04.120 +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 09:49:04.107 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=611.757ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.128 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.128 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:49:04.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=6.220923ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.107 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.147 +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 09:49:04.107 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.153 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:49:04.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.154 +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 09:49:04.157 +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 09:49:04.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.157 +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 09:49:04.155 +0000 UTC, Err:<nil>, 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 09:49:04.168 +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 09:49:04.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.175 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=438.904ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.176 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.177 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:49:04.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=13] ["take time"=10.619333ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.194 +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 09:49:04.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.203 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:49:04.203 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.203 +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 09:49:04.207 +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 09:49:04.206 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.207 +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 09:49:04.206 +0000 UTC, Err:<nil>, 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 09:49:04.225 +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 09:49:04.206 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.233 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=394.609ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.236 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:49:04.237 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.675116ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.206 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.246 +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 09:49:04.206 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.248 +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 09:49:04.252 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:49:04.252 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.253 +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 09:49:04.263 +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 09:49:04.259 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.264 +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 09:49:04.259 +0000 UTC, Err:<nil>, 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 09:49:04.275 +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 09:49:04.259 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.280 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=284.35ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.281 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.281 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:49:04.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=15] ["take time"=2.565549ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.259 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.289 +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 09:49:04.259 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.303 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:49:04.303 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.303 +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 09:49:04.307 +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 09:49:04.305 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.307 +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 09:49:04.305 +0000 UTC, Err:<nil>, 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 09:49:04.345 +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 09:49:04.305 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.349 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=282.684ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.350 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:49:04.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.019941ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.305 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.367 +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 09:49:04.305 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.379 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:49:04.379 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.379 +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 09:49:04.386 +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 09:49:04.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.386 +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 09:49:04.384 +0000 UTC, Err:<nil>, 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 09:49:04.412 +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 09:49:04.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=362.293ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.418 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.418 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:49:04.418 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.015594ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.431 +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 09:49:04.384 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.445 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:49:04.445 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.445 +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 09:49:04.449 +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 09:49:04.447 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.449 +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 09:49:04.447 +0000 UTC, Err:<nil>, 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 09:49:04.470 +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 09:49:04.447 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=321.375ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.476 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.476 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:49:04.479 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=5.446768ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.447 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.495 +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 09:49:04.447 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.503 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:49:04.503 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.504 +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 09:49:04.518 +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 09:49:04.516 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.518 +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 09:49:04.516 +0000 UTC, Err:<nil>, 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 09:49:04.528 +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 09:49:04.516 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.534 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=517.7ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.536 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.536 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:49:04.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=19.750829ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.516 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.560 +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 09:49:04.516 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.567 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:49:04.567 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.573 +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 09:49:04.579 +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 09:49:04.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.579 +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 09:49:04.574 +0000 UTC, Err:<nil>, 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 09:49:04.589 +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 09:49:04.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.593 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=343.096ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.594 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:49:04.603 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=10.215911ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.611 +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 09:49:04.574 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.616 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:49:04.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.617 +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 09:49:04.628 +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 09:49:04.619 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.628 +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 09:49:04.619 +0000 UTC, Err:<nil>, 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 09:49:04.638 +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 09:49:04.619 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.655 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=270.486ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.657 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.657 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:49:04.657 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.010262ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.619 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.666 +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 09:49:04.619 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.671 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:49:04.671 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.671 +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 09:49:04.675 +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 09:49:04.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.675 +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 09:49:04.673 +0000 UTC, Err:<nil>, 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 09:49:04.684 +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 09:49:04.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=186.024ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.700 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:49:04.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=14.079195ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.713 +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 09:49:04.673 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.721 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:49:04.721 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.721 +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 09:49:04.730 +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 09:49:04.724 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.730 +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 09:49:04.724 +0000 UTC, Err:<nil>, 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 09:49:04.739 +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 09:49:04.724 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=451.435ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.750 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:49:04.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=3.775466ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.724 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.762 +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 09:49:04.724 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.774 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:49:04.774 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.774 +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 09:49:04.779 +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 09:49:04.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.779 +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 09:49:04.777 +0000 UTC, Err:<nil>, 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 09:49:04.788 +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 09:49:04.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=318.776ยตs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.795 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.795 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:49:04.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=24] ["take time"=4.624505ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.824 +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 09:49:04.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.831 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:49:04.831 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.831 +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 09:49:04.860 +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 09:49:04.843 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.861 +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 09:49:04.843 +0000 UTC, Err:<nil>, 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 09:49:04.875 +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 09:49:04.843 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.878 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=301.807ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.881 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:49:04.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=4.04774ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.843 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.894 +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 09:49:04.843 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.898 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:49:04.898 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.899 +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 09:49:04.902 +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 09:49:04.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.902 +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 09:49:04.9 +0000 UTC, Err:<nil>, 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 09:49:04.913 +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 09:49:04.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=295.45ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.921 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:49:04.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=26] ["take time"=10.303519ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.936 +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 09:49:04.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.941 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:49:04.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.942 +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 09:49:04.945 +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 09:49:04.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.945 +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 09:49:04.944 +0000 UTC, Err:<nil>, 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 09:49:04.963 +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 09:49:04.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.967 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=330.004ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:04.969 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:04.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:49:04.981 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=13.94364ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.988 +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 09:49:04.944 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:04.991 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:49:04.991 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:04.992 +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 09:49:04.997 +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 09:49:04.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:04.997 +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 09:49:04.993 +0000 UTC, Err:<nil>, 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 09:49:05.015 +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 09:49:04.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=303.589ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.027 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:49:05.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=28] ["take time"=23.0225ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:04.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.055 +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 09:49:04.993 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.060 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:49:05.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.060 +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 09:49:05.060 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:49:05.066 +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 09:49:05.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.066 +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 09:49:05.062 +0000 UTC, Err:<nil>, 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 09:49:05.125 +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 09:49:05.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.129 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=361.066ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.131 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.131 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:49:05.133 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=4.684976ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.141 +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 09:49:05.062 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.146 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:49:05.146 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.146 +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 09:49:05.151 +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 09:49:05.149 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.151 +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 09:49:05.149 +0000 UTC, Err:<nil>, 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 09:49:05.161 +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 09:49:05.149 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=428.111ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.167 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:49:05.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=24.17526ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.149 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.198 +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 09:49:05.149 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.204 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:49:05.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.204 +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 09:49:05.215 +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 09:49:05.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.215 +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 09:49:05.211 +0000 UTC, Err:<nil>, 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 09:49:05.236 +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 09:49:05.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=376.021ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.241 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:49:05.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=31] ["take time"=2.023835ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.246 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:49:05.252 +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 09:49:05.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.256 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:49:05.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.257 +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 09:49:05.265 +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 09:49:05.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.265 +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 09:49:05.26 +0000 UTC, Err:<nil>, 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 09:49:05.274 +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 09:49:05.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.280 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=510.007ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.282 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.282 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:49:05.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=32] ["take time"=5.919093ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.293 +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 09:49:05.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.298 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:49:05.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.298 +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 09:49:05.301 +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 09:49:05.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.301 +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 09:49:05.3 +0000 UTC, Err:<nil>, 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 09:49:05.315 +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 09:49:05.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.319 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=243.916ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.321 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.321 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:49:05.322 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=3.375908ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.333 +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 09:49:05.3 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:49:05.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.359 +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 09:49:05.35 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.359 +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 09:49:05.35 +0000 UTC, Err:<nil>, 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 09:49:05.369 +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 09:49:05.35 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=357.444ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:49:05.375 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:49: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=34] ["take time"=2.750405ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:05.35 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.394 +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 09:49:05.35 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.399 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:49:05.400 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.400 +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 09:49:05.403 +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 09:49:05.402 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.404 +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 09:49:05.402 +0000 UTC, Err:<nil>, 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 09:49:05.418 +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 09:49:05.402 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=338.005ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.425 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.425 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:49:05.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=35] ["take time"=2.008007ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.402 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.433 +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 09:49:05.402 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.441 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:49:05.441 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.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 09:49:05.446 +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 09:49:05.444 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.446 +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 09:49:05.444 +0000 UTC, Err:<nil>, 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 09:49:05.453 +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 09:49:05.444 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=333.609ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.461 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.461 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:49:05.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=36] ["take time"=4.553635ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.444 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.471 +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 09:49:05.444 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.488 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:49:05.488 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.489 +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 09:49:05.494 +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 09:49:05.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.494 +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 09:49:05.491 +0000 UTC, Err:<nil>, 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 09:49:05.539 +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 09:49:05.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=280.935ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.556 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.556 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:49:05.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=37] ["take time"=11.896557ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.583 +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 09:49:05.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:49:05.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.593 +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 09:49:05.608 +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 09:49:05.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.608 +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 09:49:05.605 +0000 UTC, Err:<nil>, 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 09:49:05.620 +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 09:49:05.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.627 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=601.624ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.629 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.629 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:49:05.629 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.05602ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.636 +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 09:49:05.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:49:05.651 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.651 +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 09:49:05.670 +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 09:49:05.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.670 +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 09:49:05.659 +0000 UTC, Err:<nil>, 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 09:49:05.680 +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 09:49:05.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.684 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=539.092ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.686 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:49:05.690 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=6.262899ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.699 +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 09:49:05.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.710 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:49:05.710 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.710 +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 09:49:05.716 +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 09:49:05.714 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.717 +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 09:49:05.714 +0000 UTC, Err:<nil>, 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 09:49:05.729 +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 09:49:05.714 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=721.779ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.737 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.737 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:49:05.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=16.527214ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.714 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.776 +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 09:49:05.714 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.786 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:49:05.786 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.787 +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 09:49:05.792 +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 09:49:05.788 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.793 +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 09:49:05.788 +0000 UTC, Err:<nil>, 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 09:49:05.825 +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 09:49:05.788 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.837 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=631.533ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.839 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.839 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:49:05.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=41] ["take time"=5.976217ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.788 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.854 +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 09:49:05.788 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.862 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:49:05.862 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.863 +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 09:49:05.873 +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 09:49:05.871 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.874 +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 09:49:05.871 +0000 UTC, Err:<nil>, 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 09:49:05.886 +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 09:49:05.871 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=602.72ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.911 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:49:05.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=42] ["take time"=4.262042ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.871 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.934 +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 09:49:05.871 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.949 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:49:05.949 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:05.950 +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 09:49:05.954 +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 09:49:05.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:05.954 +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 09:49:05.952 +0000 UTC, Err:<nil>, 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 09:49:05.972 +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 09:49:05.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.980 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=633.569ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:05.981 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:05.981 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:49:05.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=43] ["take time"=4.165525ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:05.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:05.992 +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 09:49:05.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.001 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:49:06.001 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.002 +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 09:49:06.020 +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 09:49:06.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.020 +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 09:49:06.007 +0000 UTC, Err:<nil>, 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 09:49:06.028 +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 09:49:06.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.036 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=460.313ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.038 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:49:06.041 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=5.060079ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.047 +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 09:49:06.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.055 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:49:06.055 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.056 +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 09:49:06.061 +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 09:49:06.059 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.061 +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 09:49:06.059 +0000 UTC, Err:<nil>, 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 09:49:06.070 +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 09:49:06.059 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=374.22ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.081 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.081 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:49:06.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=45] ["take time"=2.01107ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.059 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.088 +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 09:49:06.059 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.092 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:49:06.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.093 +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 09:49:06.099 +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 09:49:06.096 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.099 +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 09:49:06.096 +0000 UTC, Err:<nil>, 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 09:49:06.136 +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 09:49:06.096 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.159 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=731.006ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.162 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.162 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:49:06.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=46] ["take time"=4.026866ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.096 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.175 +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 09:49:06.096 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.180 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:49:06.180 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.181 +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 09:49:06.191 +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 09:49:06.189 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.192 +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 09:49:06.189 +0000 UTC, Err:<nil>, 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 09:49:06.200 +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 09:49:06.189 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=432.808ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.226 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.226 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:49:06.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=47] ["take time"=4.497706ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.189 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.243 +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 09:49:06.189 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.261 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:49:06.261 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.262 +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 09:49:06.272 +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 09:49:06.27 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.272 +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 09:49:06.27 +0000 UTC, Err:<nil>, 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 09:49:06.318 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:49:06.318 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:49:06.318 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:49:06.318 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:06.334 +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 09:49:06.27 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.342 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=312.875ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.344 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.344 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:49:06.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=48] ["take time"=8.76736ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.27 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.392 +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 09:49:06.27 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.403 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:49:06.403 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.403 +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 09:49:06.420 +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 09:49:06.41 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.420 +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 09:49:06.41 +0000 UTC, Err:<nil>, 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 09:49:06.430 +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 09:49:06.41 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.434 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=346.483ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.435 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.435 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:49:06.438 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.918349ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.41 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.449 +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 09:49:06.41 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.461 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:49:06.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.461 +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 09:49:06.464 +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 09:49:06.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.464 +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 09:49:06.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:49:06.475 +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 09:49:06.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=85.564ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:49:06.479 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:49:06.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=50] ["take time"=2.512432ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:06.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.488 +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 09:49:06.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.496 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:49:06.496 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.500 +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 09:49:06.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.500 +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 09:49:06.498 +0000 UTC, Err:<nil>, 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 09:49:06.519 +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 09:49:06.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.523 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=267.821ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:49:06.524 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:49:06.524 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:49:06.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=51] ["take time"=2.014983ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:06.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.533 +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 09:49:06.498 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.557 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:49:06.557 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.609 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=3.363517995s]
[2024/05/06 09:49:06.610 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e0b2108f-c5fe-48d1-8cdd-b25acf28bfa5] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=2.089ยตs]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=885ns]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=939ns]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=805ns]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=722ns]
[2024/05/06 09:49:06.610 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.611 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:49:06.611 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:49:06.615 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=e0b2108f-c5fe-48d1-8cdd-b25acf28bfa5] ["take time"=5.889582ms]
[2024/05/06 09:49:06.615 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=e0b2108f-c5fe-48d1-8cdd-b25acf28bfa5]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:06.615 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:49:06.615 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:06.615 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:06.615 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:49:06.615 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:06.615 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:49:06.616 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:06.616 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:49:06.616 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:06.616 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.259594ms]
[2024/05/06 09:49:06.616 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7b1c7851-6971-4f43-93f0-3d14301dd1ed] ["ddl lease"=500ms] ["stats lease"=-1ns]
[2024/05/06 09:49:06.624 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:49:06.624 +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 09:49:06.661 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=36.181264ms]
[2024/05/06 09:49:06.669 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:06.669 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856] [runWorker=true]
[2024/05/06 09:49:06.670 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:49:06.671 +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 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:06.671 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:06.671 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:49:06.671 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:49:06.671 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:06.672 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:49:06.672 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:49:06.673 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:49:06.683 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:49:06.683 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:49:06.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:49:06.704 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:49:06.705 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:49:06.707 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:49:06.707 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:49:06.707 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:49:06.708 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:49:06.709 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:49:06.709 +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 09:49:06.709 +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 09:49:06.713 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:49:06.716 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=] [sql="create schema RenameTableAutoIDs"] [user=]
[2024/05/06 09:49:06.716 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:49:06.716 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:49:06.719 +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 09:49:06.718 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.719 +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 09:49:06.718 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create schema RenameTableAutoIDs"]
[2024/05/06 09:49:06.728 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:49:06.728 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:49:06.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=12] [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 09:49:06.718 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.748 +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 09:49:06.762 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=14.268747ms]
[2024/05/06 09:49:06.763 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:06.764 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52]
[2024/05/06 09:49:06.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=52] ["take time"=16.484242ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:06.718 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.773 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=12] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:06.718 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.778 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105]
[2024/05/06 09:49:06.778 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.778 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=52] [cur_db=] [sql="create schema RenameTableAutoIDs2"] [user=]
[2024/05/06 09:49:06.781 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:06.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.781 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:06.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create schema RenameTableAutoIDs2"]
[2024/05/06 09:49:06.803 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=12] [category=ddl] [job="ID:107, Type:create schema, State:queueing, SchemaState:none, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:06.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=71.929ยตs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:49:06.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53]
[2024/05/06 09:49:06.828 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=21.844189ms] [job="ID:107, Type:create schema, State:done, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:49:06.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.839 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=107] [conn=12] [job="ID:107, Type:create schema, State:synced, SchemaState:public, SchemaID:106, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:06.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.842 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107]
[2024/05/06 09:49:06.842 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.844 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=53] [cur_db=RenameTableAutoIDs] [sql="CREATE TABLE t (a int auto_increment primary key nonclustered, b varchar(255), key (b)) AUTO_ID_CACHE 100"] [user=]
[2024/05/06 09:49:06.852 +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 09:49:06.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.852 +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 09:49:06.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t (a int auto_increment primary key nonclustered, b varchar(255), key (b)) AUTO_ID_CACHE 100"]
[2024/05/06 09:49:06.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=12] [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 09:49:06.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.868 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=241.431ยตs] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:49:06.869 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54]
[2024/05/06 09:49:06.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=14.270494ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:49:06.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.888 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=109] [conn=12] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:06.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.895 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109]
[2024/05/06 09:49:06.895 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:49:06.900 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=54] [cur_db=RenameTableAutoIDs] [sql="rename table t to RenameTableAutoIDs2.t2"] [user=]
[2024/05/06 09:49:06.903 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:106, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:06.901 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:49:06.903 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:106, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-06 09:49:06.901 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t to RenameTableAutoIDs2.t2"]
[2024/05/06 09:49:06.904 +00:00] [INFO] [set.go:170] ["set global var"] [conn=15] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:49:06.909 +00:00] [INFO] [schema_test.go:376] ["Could not find match"] [category=ddl] [tableName=t] [s=running] [colNum=11]
[2024/05/06 09:49:06.909 +00:00] [INFO] [schema_test.go:383] ["ddl jobs"] [category=ddl] [jobs="[110,renametableautoids2,t,\"rename table\",none,106,108,0,\"2024-05-06 09:49:06\",<nil>,<nil>,queueing]"]
[2024/05/06 09:49:06.910 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=110] [conn=12] [category=ddl] [job="ID:110, Type:rename table, State:queueing, SchemaState:none, SchemaID:106, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:49:06.901 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:49:06.913 +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 09:49:06.929 +00:00] [INFO] [set.go:170] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:49:06.935 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[schema:1146]Table 'renametableautoids2.t2' doesn't exist"] [errorVerbose="[schema:1146]Table 'renametableautoids2.t2' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs\n\tpkg/ddl/schema_test.go:398\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="insert into RenameTableAutoIDs2.t2 values (50, 5)"]
    testkit.go:164: 
        	Error Trace:	pkg/testkit/testkit.go:164
        	            				pkg/testkit/testkit.go:157
        	            				pkg/ddl/schema_test.go:398
        	Error:      	Received unexpected error:
        	            	[schema:1146]Table 'renametableautoids2.t2' doesn't exist
        	            	github.com/pingcap/errors.AddStack
        	            		external/com_github_pingcap_errors/errors.go:178
        	            	github.com/pingcap/errors.Trace
        	            		external/com_github_pingcap_errors/juju_adaptor.go:15
        	            	github.com/pingcap/tidb/pkg/planner/core.Preprocess
        	            		pkg/planner/core/preprocess.go:141
        	            	github.com/pingcap/tidb/pkg/executor.(*Compiler).Compile
        	            		pkg/executor/compiler.go:67
        	            	github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt
        	            		pkg/session/session.go:2089
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext
        	            		pkg/testkit/testkit.go:390
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext
        	            		pkg/testkit/testkit.go:162
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec
        	            		pkg/testkit/testkit.go:157
        	            	github.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs
        	            		pkg/ddl/schema_test.go:398
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
        	Test:       	TestRenameTableAutoIDs
        	Messages:   	sql:insert into RenameTableAutoIDs2.t2 values (50, 5), [], error stack [schema:1146]Table 'renametableautoids2.t2' doesn't exist
        	            	github.com/pingcap/errors.AddStack
        	            		external/com_github_pingcap_errors/errors.go:178
        	            	github.com/pingcap/errors.Trace
        	            		external/com_github_pingcap_errors/juju_adaptor.go:15
        	            	github.com/pingcap/tidb/pkg/planner/core.Preprocess
        	            		pkg/planner/core/preprocess.go:141
        	            	github.com/pingcap/tidb/pkg/executor.(*Compiler).Compile
        	            		pkg/executor/compiler.go:67
        	            	github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt
        	            		pkg/session/session.go:2089
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext
        	            		pkg/testkit/testkit.go:390
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext
        	            		pkg/testkit/testkit.go:162
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec
        	            		pkg/testkit/testkit.go:157
        	            	github.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs
        	            		pkg/ddl/schema_test.go:398
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
[2024/05/06 09:49:06.936 +00:00] [INFO] [schema_version.go:375] ["wait latest schema version encounter error"] [category=ddl] [ver=55] [jobID=110] ["take time"=23.249509ms] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*MockSchemaSyncer).OwnerCheckAllVersions\n\tpkg/ddl/mock.go:132\ngithub.com/pingcap/tidb/pkg/ddl.checkAllVersions\n\tpkg/ddl/schema_version.go:373\ngithub.com/pingcap/tidb/pkg/ddl.waitSchemaChanged\n\tpkg/ddl/ddl_worker.go:1413\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:479\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 09:49:06.936 +00:00] [INFO] [ddl.go:1219] ["DoDDLJob will quit because context done"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:49:06.936 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=4.718ยตs]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=2.986ยตs]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=2.35ยตs]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=3.017ยตs]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=958ns]
[2024/05/06 09:49:06.936 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:49:06.936 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).callHookOnChanged\n\tpkg/ddl/ddl.go:1308\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:7210\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).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs.func2\n\tpkg/ddl/schema_test.go:393\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n  \"currDBName\": \"RenameTableAutoIDs\",\n  \"id\": 12,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
[2024/05/06 09:49:06.937 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856] ["take time"=1.238819ms]
[2024/05/06 09:49:06.937 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856]
[2024/05/06 09:49:06.937 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/06 09:49:06.937 +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 09:49:06.937 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:06.937 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:06.937 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:06.937 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/06 09:49:06.945 +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 09:49:06.945 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:06.945 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:06.945 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:06.945 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:49:06.946 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856] [ownerKey=/tidb/stats/owner]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5d16769d-19b8-49b5-b97a-67455ea25856] [ownerKey=/tidb/bindinfo/owner]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:49:06.946 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000]
[2024/05/06 09:49:06.946 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/06 09:49:06.946 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:49:06.963 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=50.679951ms]
[2024/05/06 09:49:06.969 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:49:06.971 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:49:06.971 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:49:06.972 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=36.233768ms]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:567] ["Closing database"]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:592] ["Memtable flushed"]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:596] ["Compaction finished"]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:615] ["BlobManager finished"]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:619] ["ResourceManager finished"]
[2024/05/06 09:49:06.973 +00:00] [INFO] [db.go:625] ["Waiting for closer"]
--- FAIL: TestRenameTableAutoIDs (3.77s)
FAIL
coverage: 12.0% of statements
--
Coverage runner: Not collecting coverage for failed test.
The following commands failed with status 1
/home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/11173/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test
================================================================================
[12,155 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 164s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,157 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 165s remote-cache, linux-sandbox ... (70 actions running)
[12,159 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 166s remote-cache, linux-sandbox ... (70 actions running)
[12,161 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 167s remote-cache, linux-sandbox ... (70 actions running)
[12,164 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 169s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,165 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 170s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,175 / 12,767] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 171s remote-cache, linux-sandbox ... (70 actions running)
[12,180 / 12,767] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 172s remote-cache, linux-sandbox ... (70 actions running)
[12,184 / 12,767] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 173s remote-cache, linux-sandbox ... (70 actions running)
[12,185 / 12,767] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 174s remote-cache, linux-sandbox ... (68 actions running)
[12,195 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 175s remote-cache, linux-sandbox ... (70 actions running)
[12,198 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 176s remote-cache, linux-sandbox ... (70 actions running)
[12,199 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 177s remote-cache, linux-sandbox ... (70 actions running)
[12,200 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 178s remote-cache, linux-sandbox ... (70 actions running)
[12,200 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 179s remote-cache, linux-sandbox ... (70 actions running)
[12,205 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 181s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,207 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 182s remote-cache, linux-sandbox ... (69 actions running)
[12,208 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 183s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,212 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 184s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,213 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 185s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,213 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 186s remote-cache, linux-sandbox ... (70 actions running)
[12,213 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 187s remote-cache, linux-sandbox ... (70 actions running)
[12,217 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 188s remote-cache, linux-sandbox ... (70 actions running)
[12,219 / 12,779] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 190s remote-cache, linux-sandbox ... (70 actions running)
[12,224 / 12,800] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 191s remote-cache, linux-sandbox ... (70 actions running)
[12,232 / 12,809] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 192s remote-cache, linux-sandbox ... (70 actions running)
[12,235 / 12,809] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 193s remote-cache, linux-sandbox ... (70 actions running)
[12,237 / 12,809] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 194s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,242 / 12,811] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 196s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,243 / 12,811] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 197s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,246 / 12,811] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 198s remote-cache, linux-sandbox ... (70 actions running)
[12,247 / 12,811] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 199s remote-cache, linux-sandbox ... (70 actions running)
[12,249 / 12,811] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 200s remote-cache, linux-sandbox ... (69 actions running)
[12,253 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 202s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,256 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 203s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,259 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 204s remote-cache, linux-sandbox ... (70 actions running)
[12,263 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 205s remote-cache, linux-sandbox ... (70 actions running)
[12,266 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 206s remote-cache, linux-sandbox ... (70 actions running)
[12,268 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 207s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,271 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 208s remote-cache, linux-sandbox ... (70 actions running)
[12,273 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 209s remote-cache, linux-sandbox ... (70 actions running)
[12,276 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 211s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,278 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 212s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,280 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 213s remote-cache, linux-sandbox ... (69 actions running)
[12,281 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 214s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,281 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 215s remote-cache, linux-sandbox ... (70 actions running)
[12,284 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 216s remote-cache, linux-sandbox ... (70 actions running)
[12,287 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 217s remote-cache, linux-sandbox ... (70 actions running)
[12,288 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 219s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,289 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 220s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,291 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 221s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,292 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 222s remote-cache, linux-sandbox ... (70 actions running)
[12,298 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 223s remote-cache, linux-sandbox ... (70 actions running)
[12,298 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 224s remote-cache, linux-sandbox ... (70 actions running)
[12,299 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 226s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,306 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 227s remote-cache, linux-sandbox ... (69 actions running)
[12,306 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 228s remote-cache, linux-sandbox ... (70 actions running)
[12,306 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 229s remote-cache, linux-sandbox ... (70 actions running)
[12,316 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 231s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,316 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 232s remote-cache, linux-sandbox ... (70 actions running)
[12,317 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 233s remote-cache, linux-sandbox ... (70 actions running)
[12,321 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 234s remote-cache, linux-sandbox ... (70 actions running)
[12,322 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 235s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,327 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 237s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,328 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 238s remote-cache, linux-sandbox ... (70 actions running)
[12,330 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 239s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,335 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 241s remote-cache, linux-sandbox ... (70 actions running)
[12,335 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 242s remote-cache, linux-sandbox ... (70 actions running)
[12,339 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 243s remote-cache, linux-sandbox ... (70 actions running)
[12,341 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 244s remote-cache, linux-sandbox ... (70 actions running)
[12,343 / 12,811] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 245s remote-cache, linux-sandbox ... (70 actions running)
[12,347 / 12,811] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 246s remote-cache, linux-sandbox ... (70 actions running)
[12,353 / 12,811] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 248s remote-cache, linux-sandbox ... (70 actions running)
[12,355 / 12,811] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 249s remote-cache, linux-sandbox ... (70 actions running)
[12,363 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 250s remote-cache, linux-sandbox ... (70 actions running)
[12,366 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 251s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,368 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 252s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,378 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 253s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,378 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 255s remote-cache, linux-sandbox ... (70 actions running)
[12,382 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 256s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,390 / 12,811] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 257s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,394 / 12,811] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 258s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,400 / 12,811] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 260s remote-cache, linux-sandbox ... (70 actions running)
[12,400 / 12,811] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 261s remote-cache, linux-sandbox ... (70 actions running)
[12,401 / 12,811] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 262s remote-cache, linux-sandbox ... (70 actions running)
[12,405 / 12,811] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 263s remote-cache, linux-sandbox ... (70 actions running)
[12,411 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 264s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,414 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 265s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,417 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 267s remote-cache, linux-sandbox ... (70 actions running)
[12,420 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 268s remote-cache, linux-sandbox ... (70 actions running)
[12,421 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 269s remote-cache, linux-sandbox ... (70 actions running)
[12,426 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 270s remote-cache, linux-sandbox ... (70 actions running)
[12,428 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 271s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,428 / 12,813] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 272s remote-cache, linux-sandbox ... (70 actions running)
[12,431 / 12,813] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 273s remote-cache, linux-sandbox ... (70 actions running)
[12,434 / 12,813] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 275s remote-cache, linux-sandbox ... (70 actions running)
[12,438 / 12,813] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 276s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,445 / 12,899] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 277s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,452 / 12,899] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 278s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,456 / 12,899] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 279s 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
[12,460 / 12,899] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 281s remote-cache, linux-sandbox ... (70 actions running)
[12,460 / 12,899] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 282s remote-cache, linux-sandbox ... (70 actions running)
[12,460 / 12,899] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 283s remote-cache, linux-sandbox ... (70 actions running)
[12,465 / 12,899] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 284s remote-cache, linux-sandbox ... (70 actions running)
[12,473 / 12,899] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 285s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,479 / 12,899] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 286s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,483 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 287s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,487 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 288s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,492 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 289s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,495 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 290s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,500 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 291s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,505 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 292s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,508 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 293s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,516 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 295s remote-cache, linux-sandbox ... (70 actions running)
[12,518 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 297s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,521 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 298s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,523 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 299s remote-cache, linux-sandbox ... (70 actions running)
[12,524 / 12,914] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 300s remote-cache, linux-sandbox ... (70 actions running)
[12,533 / 12,914] 277 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 70s remote-cache, linux-sandbox ... (70 actions running)
[12,536 / 12,914] 277 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 71s remote-cache, linux-sandbox ... (70 actions running)
[12,536 / 12,914] 277 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 1 of 11); 72s remote-cache, linux-sandbox ... (70 actions running)
[12,542 / 12,914] 277 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 17 of 19); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,545 / 12,914] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 53s remote-cache, linux-sandbox ... (70 actions running)
[12,553 / 12,916] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 54s remote-cache, linux-sandbox ... (69 actions running)
[12,557 / 12,916] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 55s remote-cache, linux-sandbox ... (70 actions running)
[12,559 / 12,916] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 57s remote-cache, linux-sandbox ... (70 actions running)
[12,559 / 12,916] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 58s remote-cache, linux-sandbox ... (70 actions running)
[12,560 / 12,916] 277 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,566 / 12,918] 278 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,568 / 12,918] 278 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,571 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,571 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 64s remote-cache, linux-sandbox ... (70 actions running)
[12,571 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 65s remote-cache, linux-sandbox ... (70 actions running)
[12,575 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 66s remote-cache, linux-sandbox ... (70 actions running)
[12,575 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 68s remote-cache, linux-sandbox ... (70 actions running)
[12,577 / 12,918] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,579 / 12,920] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,580 / 12,920] 279 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 72s remote-cache, linux-sandbox ... (70 actions running)
[12,584 / 12,920] 281 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,588 / 12,922] 282 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 74s remote-cache, linux-sandbox ... (70 actions running)
[12,589 / 12,922] 282 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 75s remote-cache, linux-sandbox ... (70 actions running)
[12,590 / 12,922] 282 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,591 / 12,922] 282 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 79s remote-cache, linux-sandbox ... (70 actions running)
[12,593 / 12,922] 282 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 80s remote-cache, linux-sandbox ... (70 actions running)
[12,597 / 12,924] 283 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,597 / 12,924] 283 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 83s remote-cache, linux-sandbox ... (70 actions running)
[12,598 / 12,924] 283 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 84s remote-cache, linux-sandbox ... (70 actions running)
[12,598 / 12,924] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 86s remote-cache, linux-sandbox ... (70 actions running)
[12,600 / 12,924] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,600 / 12,924] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 88s remote-cache, linux-sandbox ... (70 actions running)
[12,601 / 12,924] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,603 / 12,924] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 91s remote-cache, linux-sandbox ... (70 actions running)
[12,608 / 12,926] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 92s remote-cache, linux-sandbox ... (70 actions running)
[12,609 / 12,926] 284 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 94s remote-cache, linux-sandbox ... (70 actions running)
[12,612 / 12,926] 285 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 95s remote-cache, linux-sandbox ... (70 actions running)
[12,612 / 12,926] 285 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 97s remote-cache, linux-sandbox ... (70 actions running)
[12,614 / 12,926] 285 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 98s remote-cache, linux-sandbox ... (70 actions running)
[12,616 / 12,928] 285 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 99s remote-cache, linux-sandbox ... (70 actions running)
[12,620 / 12,928] 286 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 100s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,621 / 12,928] 286 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,621 / 12,928] 286 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 103s remote-cache, linux-sandbox ... (70 actions running)
[12,622 / 12,928] 286 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,624 / 12,928] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 106s remote-cache, linux-sandbox ... (70 actions running)
[12,627 / 12,935] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 107s remote-cache, linux-sandbox ... (70 actions running)
[12,627 / 12,935] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 108s remote-cache, linux-sandbox ... (70 actions running)
[12,628 / 12,935] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 109s remote-cache, linux-sandbox ... (70 actions running)
[12,630 / 12,935] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 110s remote-cache, linux-sandbox ... (70 actions running)
[12,631 / 12,935] 287 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 112s remote-cache, linux-sandbox ... (70 actions running)
[12,635 / 12,935] 288 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 18 of 20); 65s remote-cache, linux-sandbox ... (70 actions running)
[12,637 / 12,937] 288 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 18 of 20); 66s remote-cache, linux-sandbox ... (70 actions running)
[12,639 / 12,937] 288 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 18 of 20); 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,644 / 12,937] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,645 / 12,937] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,646 / 12,950] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,647 / 12,950] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 70s remote-cache, linux-sandbox ... (70 actions running)
[12,647 / 12,950] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 71s remote-cache, linux-sandbox ... (70 actions running)
[12,651 / 12,950] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,654 / 12,958] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,658 / 12,958] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,658 / 12,958] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 76s remote-cache, linux-sandbox ... (70 actions running)
[12,659 / 12,958] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,663 / 12,958] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 79s remote-cache, linux-sandbox ... (70 actions running)
[12,665 / 12,960] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 80s remote-cache, linux-sandbox ... (70 actions running)
[12,665 / 12,960] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 81s remote-cache, linux-sandbox ... (70 actions running)
[12,665 / 12,960] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 82s remote-cache, linux-sandbox ... (70 actions running)
[12,665 / 12,960] 289 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 83s remote-cache, linux-sandbox ... (70 actions running)
[12,667 / 12,960] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 84s remote-cache, linux-sandbox ... (70 actions running)
[12,672 / 13,011] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 86s remote-cache, linux-sandbox ... (70 actions running)
[12,673 / 13,011] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 87s remote-cache, linux-sandbox ... (70 actions running)
[12,680 / 13,011] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 88s remote-cache, linux-sandbox ... (70 actions running)
[12,683 / 13,024] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 89s remote-cache, linux-sandbox ... (70 actions running)
[12,687 / 13,024] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,690 / 13,024] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 92s remote-cache, linux-sandbox ... (70 actions running)
[12,692 / 13,024] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,696 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,696 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 96s remote-cache, linux-sandbox ... (70 actions running)
[12,697 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,699 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 99s remote-cache, linux-sandbox ... (70 actions running)
[12,703 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,703 / 13,029] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 102s remote-cache, linux-sandbox ... (70 actions running)
[12,707 / 13,029] 291 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 103s remote-cache, linux-sandbox ... (70 actions running)

FLAKY: //pkg/ddl:ddl_test (Summary)
      /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_39_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 09:46:51.647 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable]
[2024/05/06 09:46:51.648 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:51.648 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:51.650 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:51.650 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:51.655 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:51.657 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d255cb94-099f-4d12-a178-fd6610e1619d] ["ddl lease"=100ms] ["stats lease"=-1ns]
[2024/05/06 09:46:51.670 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:46:51.670 +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 09:46:51.671 +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 09:46:51.675 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.050331ms]
[2024/05/06 09:46:51.676 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:46:51.676 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=751b92d4-4297-4a09-baa3-2bcdb38dc08a] [runWorker=true]
[2024/05/06 09:46:51.676 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:46:51.676 +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 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:46:51.676 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:46:51.676 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:46:51.679 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:46:51.680 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:46:51.680 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:46:51.680 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:46:51.730 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:46:51.730 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:46:51.731 +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).loadSchemaInLoop\n\tpkg/domain/domain.go:914\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"] [version=0]
[2024/05/06 09:46:51.780 +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).loadSchemaInLoop\n\tpkg/domain/domain.go:914\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"] [version=0]
[2024/05/06 09:46:51.831 +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).loadSchemaInLoop\n\tpkg/domain/domain.go:914\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"] [version=0]
[2024/05/06 09:46:51.883 +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).loadSchemaInLoop\n\tpkg/domain/domain.go:914\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"] [version=0]
[2024/05/06 09:46:51.884 +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 09:46:51.893 +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 09:46:51.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:51.893 +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 09:46:51.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"]
[2024/05/06 09:46:51.901 +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 09:46:51.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.908 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.43777ms]
[2024/05/06 09:46:51.909 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:46:51.910 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:51.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1]
[2024/05/06 09:46:51.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=1] ["take time"=6.45457ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:46:51.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.919 +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 09:46:51.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3]
[2024/05/06 09:46:51.922 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:51.923 +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 09:46:51.924 +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 09:46:51.933 +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 09:46:51.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:51.933 +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 09:46:51.926 +0000 UTC, Err:<nil>, 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 09:46:51.942 +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 09:46:51.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.09073ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:51.956 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:51.956 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2]
[2024/05/06 09:46:51.961 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=7.363425ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:51.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.971 +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 09:46:51.926 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:51.980 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5]
[2024/05/06 09:46:51.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:51.980 +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 09:46:52.001 +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 09:46:51.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.001 +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 09:46:51.99 +0000 UTC, Err:<nil>, 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 09:46:52.028 +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 09:46:51.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.033 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=321.548ยตs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.034 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.034 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3]
[2024/05/06 09:46:52.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=3] ["take time"=22.124281ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:51.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.079 +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 09:46:51.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.093 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7]
[2024/05/06 09:46:52.093 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.094 +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 09:46:52.096 +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 09:46:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.096 +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 09:46:52.095 +0000 UTC, Err:<nil>, 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 09:46:52.117 +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 09:46:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.120 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=264.639ยตs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.122 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.122 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4]
[2024/05/06 09:46:52.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=4] ["take time"=2.457941ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.135 +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 09:46:52.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.152 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9]
[2024/05/06 09:46:52.152 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.153 +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 09:46:52.158 +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 09:46:52.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.158 +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 09:46:52.155 +0000 UTC, Err:<nil>, 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 09:46:52.164 +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 09:46:52.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.181 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=639.732ยตs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.182 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.182 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5]
[2024/05/06 09:46: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=5] ["take time"=5.513993ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.197 +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 09:46:52.155 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.206 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11]
[2024/05/06 09:46:52.206 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.207 +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 09:46:52.213 +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 09:46:52.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.213 +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 09:46:52.211 +0000 UTC, Err:<nil>, 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 09:46:52.222 +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 09:46:52.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.226 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=380.312ยตs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.228 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.228 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6]
[2024/05/06 09:46:52.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=6] ["take time"=2.046505ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.233 +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 09:46:52.211 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.251 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13]
[2024/05/06 09:46:52.251 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.252 +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 09:46:52.255 +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 09:46:52.253 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.255 +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 09:46:52.253 +0000 UTC, Err:<nil>, 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 09:46:52.284 +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 09:46:52.253 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.291 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.389959ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.301 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7]
[2024/05/06 09:46:52.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=7] ["take time"=14.072591ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.253 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.308 +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 09:46:52.253 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.316 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15]
[2024/05/06 09:46:52.316 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.317 +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 09:46:52.326 +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 09:46:52.324 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.326 +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 09:46:52.324 +0000 UTC, Err:<nil>, 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 09:46:52.333 +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 09:46:52.324 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=240.469ยตs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.352 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8]
[2024/05/06 09:46:52.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=8] ["take time"=7.137372ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.324 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.373 +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 09:46:52.324 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.389 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17]
[2024/05/06 09:46:52.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.389 +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 09:46:52.395 +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 09:46:52.391 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.395 +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 09:46:52.391 +0000 UTC, Err:<nil>, 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 09:46:52.412 +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 09:46:52.391 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=251.802ยตs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.417 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9]
[2024/05/06 09:46:52.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=9] ["take time"=10.775053ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.391 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.441 +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 09:46:52.391 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.450 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19]
[2024/05/06 09:46:52.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.450 +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 09:46:52.454 +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 09:46:52.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.454 +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 09:46:52.452 +0000 UTC, Err:<nil>, 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 09:46:52.466 +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 09:46:52.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.471 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=329.576ยตs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.472 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.473 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10]
[2024/05/06 09:46:52.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.141104ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.510 +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 09:46:52.452 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.519 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21]
[2024/05/06 09:46:52.519 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.520 +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 09:46:52.527 +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 09:46:52.523 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.527 +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 09:46:52.523 +0000 UTC, Err:<nil>, 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 09:46:52.540 +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 09:46:52.523 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=313.08ยตs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.545 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11]
[2024/05/06 09:46:52.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=11] ["take time"=2.166007ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.523 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.627 +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 09:46:52.523 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.632 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23]
[2024/05/06 09:46:52.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.633 +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 09:46:52.633 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:52.637 +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 09:46:52.635 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.637 +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 09:46:52.635 +0000 UTC, Err:<nil>, 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 09:46:52.660 +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 09:46:52.635 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.668 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=474.447ยตs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.670 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.670 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12]
[2024/05/06 09:46:52.679 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=11.378187ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.635 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.683 +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 09:46:52.686 +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 09:46:52.635 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.690 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25]
[2024/05/06 09:46:52.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.691 +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 09:46:52.700 +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 09:46:52.698 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.700 +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 09:46:52.698 +0000 UTC, Err:<nil>, 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 09:46:52.712 +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 09:46:52.698 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.716 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=366.862ยตs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.717 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.717 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13]
[2024/05/06 09:46:52.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=13] ["take time"=2.88498ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.698 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.727 +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 09:46:52.698 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.732 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27]
[2024/05/06 09:46:52.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.733 +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 09:46:52.747 +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 09:46:52.735 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.747 +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 09:46:52.735 +0000 UTC, Err:<nil>, 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 09:46:52.757 +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 09:46:52.735 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.768 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=356.423ยตs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.769 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14]
[2024/05/06 09:46:52.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=14] ["take time"=2.616818ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.735 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.776 +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 09:46:52.735 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29]
[2024/05/06 09:46:52.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.781 +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 09:46:52.791 +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 09:46:52.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.791 +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 09:46:52.79 +0000 UTC, Err:<nil>, 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 09:46:52.801 +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 09:46:52.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=195.814ยตs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.805 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15]
[2024/05/06 09:46:52.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.442661ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.824 +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 09:46:52.79 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.835 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31]
[2024/05/06 09:46:52.835 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.836 +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 09:46:52.847 +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 09:46:52.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.847 +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 09:46:52.838 +0000 UTC, Err:<nil>, 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 09:46:52.855 +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 09:46:52.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.860 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=305.617ยตs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.861 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.861 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16]
[2024/05/06 09:46:52.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=16] ["take time"=5.452927ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.873 +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 09:46:52.838 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.879 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33]
[2024/05/06 09:46:52.879 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.880 +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 09:46:52.884 +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 09:46:52.882 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.884 +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 09:46:52.882 +0000 UTC, Err:<nil>, 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 09:46:52.895 +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 09:46:52.882 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.904 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=299.162ยตs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.906 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17]
[2024/05/06 09:46:52.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=17] ["take time"=20.567536ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.882 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.934 +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 09:46:52.882 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.946 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35]
[2024/05/06 09:46:52.946 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:52.946 +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 09:46:52.961 +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 09:46:52.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:52.961 +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 09:46:52.952 +0000 UTC, Err:<nil>, 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 09:46:52.968 +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 09:46:52.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.972 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=284.231ยตs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:52.974 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:52.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18]
[2024/05/06 09:46:52.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=18] ["take time"=2.008072ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:52.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:52.985 +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 09:46:52.952 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.001 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37]
[2024/05/06 09:46:53.001 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.002 +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 09:46:53.006 +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 09:46:53.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.006 +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 09:46:53.004 +0000 UTC, Err:<nil>, 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 09:46:53.015 +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 09:46:53.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=510.976ยตs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.022 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.022 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19]
[2024/05/06 09:46:53.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=19] ["take time"=4.326701ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.034 +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 09:46:53.004 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.039 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39]
[2024/05/06 09:46:53.039 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.041 +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 09:46:53.044 +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 09:46:53.042 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.044 +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 09:46:53.042 +0000 UTC, Err:<nil>, 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 09:46:53.055 +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 09:46:53.042 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.058 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=295.157ยตs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.059 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.059 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20]
[2024/05/06 09:46:53.060 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.367576ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.042 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.090 +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 09:46:53.042 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.095 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41]
[2024/05/06 09:46:53.095 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.095 +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 09:46:53.101 +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 09:46:53.098 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.102 +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 09:46:53.098 +0000 UTC, Err:<nil>, 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 09:46:53.167 +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 09:46:53.098 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=229.073ยตs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.171 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21]
[2024/05/06 09:46:53.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=21] ["take time"=2.415561ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.098 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.190 +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 09:46:53.098 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.194 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43]
[2024/05/06 09:46:53.194 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.194 +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 09:46:53.197 +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 09:46:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.198 +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 09:46:53.196 +0000 UTC, Err:<nil>, 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 09:46:53.218 +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 09:46:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.221 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=158.431ยตs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.223 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22]
[2024/05/06 09:46:53.235 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=14.784742ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.246 +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 09:46:53.196 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.257 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45]
[2024/05/06 09:46:53.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.258 +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 09:46:53.262 +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 09:46:53.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.262 +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 09:46:53.26 +0000 UTC, Err:<nil>, 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 09:46:53.271 +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 09:46:53.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=392.437ยตs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.278 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.278 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23]
[2024/05/06 09:46:53.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=23] ["take time"=2.900359ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.296 +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 09:46:53.26 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.306 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47]
[2024/05/06 09:46:53.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.309 +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 09:46:53.313 +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 09:46:53.311 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.313 +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 09:46:53.311 +0000 UTC, Err:<nil>, 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 09:46:53.326 +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 09:46:53.311 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.355 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.154409ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.356 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.356 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24]
[2024/05/06 09:46:53.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=24] ["take time"=5.569773ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.311 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.366 +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 09:46:53.311 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.370 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49]
[2024/05/06 09:46:53.370 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.371 +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 09:46:53.375 +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 09:46:53.373 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.375 +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 09:46:53.373 +0000 UTC, Err:<nil>, 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 09:46:53.394 +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 09:46:53.373 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.411 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=299.256ยตs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.413 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.413 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25]
[2024/05/06 09:46:53.416 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=5.06621ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.373 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.424 +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 09:46:53.373 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.430 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51]
[2024/05/06 09:46:53.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.431 +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 09:46:53.436 +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 09:46:53.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.436 +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 09:46:53.434 +0000 UTC, Err:<nil>, 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 09:46:53.449 +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 09:46:53.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=245.442ยตs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.479 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26]
[2024/05/06 09:46:53.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=26] ["take time"=21.328397ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.490 +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 09:46:53.434 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.495 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53]
[2024/05/06 09:46:53.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.495 +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 09:46:53.498 +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 09:46:53.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.498 +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 09:46:53.497 +0000 UTC, Err:<nil>, 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 09:46:53.505 +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 09:46:53.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=273.895ยตs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.509 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.509 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27]
[2024/05/06 09:46:53.510 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.069166ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.517 +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 09:46:53.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.524 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55]
[2024/05/06 09:46:53.524 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.524 +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 09:46:53.529 +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 09:46:53.527 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.529 +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 09:46:53.527 +0000 UTC, Err:<nil>, 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 09:46:53.540 +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 09:46:53.527 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=244.969ยตs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.547 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28]
[2024/05/06 09:46:53.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=28] ["take time"=4.375571ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.527 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.557 +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 09:46:53.527 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.567 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57]
[2024/05/06 09:46:53.567 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.567 +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 09:46:53.567 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl]
[2024/05/06 09:46:53.571 +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 09:46:53.569 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.571 +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 09:46:53.569 +0000 UTC, Err:<nil>, 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 09:46:53.582 +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 09:46:53.569 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.586 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=270.767ยตs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.587 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.587 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29]
[2024/05/06 09:46:53.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=29] ["take time"=2.017849ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.569 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.605 +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 09:46:53.569 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.610 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59]
[2024/05/06 09:46:53.610 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.610 +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 09:46:53.616 +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 09:46:53.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.616 +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 09:46:53.612 +0000 UTC, Err:<nil>, 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 09:46:53.634 +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 09:46:53.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.638 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=392.809ยตs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.640 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.641 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30]
[2024/05/06 09:46:53.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=30] ["take time"=9.004206ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.661 +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 09:46:53.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.667 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61]
[2024/05/06 09:46:53.667 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.667 +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 09:46:53.678 +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 09:46:53.669 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.678 +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 09:46:53.669 +0000 UTC, Err:<nil>, 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 09:46:53.681 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:46:53.701 +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 09:46:53.669 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.705 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=337.342ยตs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.706 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.706 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31]
[2024/05/06 09:46:53.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=31] ["take time"=3.276736ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.669 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.714 +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 09:46:53.669 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.724 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63]
[2024/05/06 09:46:53.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.725 +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 09:46:53.729 +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 09:46:53.727 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.729 +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 09:46:53.727 +0000 UTC, Err:<nil>, 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 09:46:53.736 +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 09:46:53.727 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.747 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=434.05ยตs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.749 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.749 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32]
[2024/05/06 09:46:53.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=32] ["take time"=8.962232ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.727 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.781 +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 09:46:53.727 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.795 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65]
[2024/05/06 09:46:53.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.795 +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 09:46:53.801 +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 09:46:53.797 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.801 +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 09:46:53.797 +0000 UTC, Err:<nil>, 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 09:46:53.812 +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 09:46:53.797 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.816 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=217.931ยตs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.817 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.817 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33]
[2024/05/06 09:46:53.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.669984ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.797 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.827 +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 09:46:53.797 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67]
[2024/05/06 09:46:53.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.847 +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 09:46:53.844 +0000 UTC, Err:<nil>, 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 09:46:53.847 +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 09:46:53.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.860 +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 09:46:53.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.867 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=301.887ยตs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:46:53.868 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.868 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34]
[2024/05/06 09:46:53.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=34] ["take time"=8.059479ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:46:53.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.881 +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 09:46:53.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.885 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69]
[2024/05/06 09:46:53.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.885 +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 09:46:53.888 +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 09:46:53.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.889 +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 09:46:53.887 +0000 UTC, Err:<nil>, 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 09:46:53.894 +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 09:46:53.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=330.587ยตs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.899 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.899 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35]
[2024/05/06 09:46:53.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=35] ["take time"=6.506399ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.915 +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 09:46:53.887 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71]
[2024/05/06 09:46:53.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.921 +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 09:46:53.927 +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 09:46:53.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.927 +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 09:46:53.925 +0000 UTC, Err:<nil>, 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 09:46:53.935 +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 09:46:53.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.945 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=256.034ยตs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.947 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.947 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36]
[2024/05/06 09:46:53.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=36] ["take time"=6.51409ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.959 +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 09:46:53.925 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.963 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73]
[2024/05/06 09:46:53.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:53.964 +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 09:46:53.971 +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 09:46:53.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:53.971 +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 09:46:53.968 +0000 UTC, Err:<nil>, 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 09:46:53.981 +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 09:46:53.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:53.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=236.05ยตs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:53.988 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:53.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37]
[2024/05/06 09:46:53.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=37] ["take time"=4.685955ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:53.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.003 +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 09:46:53.968 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.010 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75]
[2024/05/06 09:46:54.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.010 +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 09:46:54.015 +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 09:46:54.013 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.015 +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 09:46:54.013 +0000 UTC, Err:<nil>, 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 09:46:54.052 +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 09:46:54.013 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.059 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=721.904ยตs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.063 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38]
[2024/05/06 09:46:54.068 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=9.722898ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.013 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.080 +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 09:46:54.013 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.087 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77]
[2024/05/06 09:46:54.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.088 +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 09:46:54.092 +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 09:46:54.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.092 +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 09:46:54.09 +0000 UTC, Err:<nil>, 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 09:46:54.110 +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 09:46:54.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.118 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=444.283ยตs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.120 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.120 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39]
[2024/05/06 09:46:54.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=39] ["take time"=5.498522ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.133 +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 09:46:54.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.137 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79]
[2024/05/06 09:46:54.137 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.138 +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 09:46:54.141 +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 09:46:54.139 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.141 +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 09:46:54.139 +0000 UTC, Err:<nil>, 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 09:46:54.156 +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 09:46:54.139 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.161 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=603.684ยตs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.162 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.162 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40]
[2024/05/06 09:46:54.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=40] ["take time"=4.118243ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.139 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.173 +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 09:46:54.139 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.179 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81]
[2024/05/06 09:46:54.179 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.180 +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 09:46:54.189 +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 09:46:54.183 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.189 +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 09:46:54.183 +0000 UTC, Err:<nil>, 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 09:46:54.197 +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 09:46:54.183 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.204 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=523.821ยตs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.205 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.205 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41]
[2024/05/06 09:46:54.216 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=12.39948ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.183 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.223 +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 09:46:54.183 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.234 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83]
[2024/05/06 09:46:54.234 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.235 +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 09:46:54.246 +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 09:46:54.242 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.246 +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 09:46:54.242 +0000 UTC, Err:<nil>, 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 09:46:54.258 +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 09:46:54.242 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.263 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=490.047ยตs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.264 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.265 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42]
[2024/05/06 09:46:54.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=42] ["take time"=8.322728ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.242 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.289 +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 09:46:54.242 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.294 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85]
[2024/05/06 09:46:54.294 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.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 09:46:54.303 +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 09:46:54.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.303 +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 09:46:54.301 +0000 UTC, Err:<nil>, 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 09:46:54.319 +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 09:46:54.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=505.242ยตs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.326 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43]
[2024/05/06 09:46:54.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=43] ["take time"=5.519025ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.343 +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 09:46:54.301 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.348 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87]
[2024/05/06 09:46:54.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.349 +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 09:46:54.354 +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 09:46:54.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.354 +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 09:46:54.352 +0000 UTC, Err:<nil>, 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 09:46:54.372 +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 09:46:54.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.413 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=369.625ยตs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.415 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.415 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44]
[2024/05/06 09:46:54.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.042697ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.433 +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 09:46:54.352 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.437 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89]
[2024/05/06 09:46:54.438 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.438 +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 09:46:54.448 +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 09:46:54.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.448 +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 09:46:54.446 +0000 UTC, Err:<nil>, 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 09:46:54.458 +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 09:46:54.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.461 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=367.068ยตs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.463 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.463 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45]
[2024/05/06 09:46:54.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=45] ["take time"=22.381804ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.495 +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 09:46:54.446 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.499 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91]
[2024/05/06 09:46:54.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.499 +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 09:46:54.503 +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 09:46:54.501 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.513 +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 09:46:54.501 +0000 UTC, Err:<nil>, 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 09:46:54.558 +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 09:46:54.501 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.567 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=581.842ยตs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.568 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.568 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46]
[2024/05/06 09:46:54.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=46] ["take time"=2.04966ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.501 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.574 +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 09:46:54.501 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.581 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93]
[2024/05/06 09:46:54.581 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.582 +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 09:46:54.585 +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 09:46:54.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.585 +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 09:46:54.583 +0000 UTC, Err:<nil>, 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 09:46:54.598 +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 09:46:54.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.603 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=359.493ยตs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.604 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.604 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47]
[2024/05/06 09:46:54.605 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.012633ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.617 +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 09:46:54.583 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.623 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95]
[2024/05/06 09:46:54.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.624 +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 09:46:54.628 +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 09:46:54.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.628 +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 09:46:54.626 +0000 UTC, Err:<nil>, 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 09:46:54.636 +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 09:46:54.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.649 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=303.807ยตs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.650 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.650 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48]
[2024/05/06 09:46:54.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=48] ["take time"=2.022021ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.658 +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 09:46:54.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.677 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97]
[2024/05/06 09:46:54.677 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.678 +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 09:46:54.682 +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 09:46:54.681 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.682 +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 09:46:54.681 +0000 UTC, Err:<nil>, 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 09:46:54.688 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:46:54.688 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:46:54.688 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:46:54.688 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:46:54.690 +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 09:46:54.681 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=304.817ยตs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:54.695 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.695 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49]
[2024/05/06 09:46:54.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=49] ["take time"=2.055542ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:54.681 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.708 +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 09:46:54.681 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.715 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99]
[2024/05/06 09:46:54.715 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.716 +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 09:46:54.718 +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 09:46:54.717 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.718 +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 09:46:54.717 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"]
[2024/05/06 09:46:54.744 +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 09:46:54.717 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.321ยตs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:46:54.749 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.749 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50]
[2024/05/06 09:46:54.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=50] ["take time"=2.995774ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:46:54.717 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.774 +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 09:46:54.717 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.778 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101]
[2024/05/06 09:46:54.778 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.784 +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 09:46:54.782 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:54.784 +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 09:46:54.782 +0000 UTC, Err:<nil>, 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 09:46:54.791 +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 09:46:54.782 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.794 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=222.994ยตs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"]
[2024/05/06 09:46:54.796 +00:00] [INFO] [domain.go:868] ["session manager is nil"]
[2024/05/06 09:46:54.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51]
[2024/05/06 09:46:54.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=51] ["take time"=2.092895ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:46:54.782 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.801 +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 09:46:54.782 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:54.807 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103]
[2024/05/06 09:46:54.807 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:54.896 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=3.220067648s]
[2024/05/06 09:46:54.897 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=751b92d4-4297-4a09-baa3-2bcdb38dc08a] [ownerKey=/tidb/ddl/fg/owner]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.79ยตs]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=991ns]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.384ยตs]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.055ยตs]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=753ns]
[2024/05/06 09:46:54.897 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/06 09:46:54.897 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/06 09:46:54.897 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/06 09:46:54.900 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=751b92d4-4297-4a09-baa3-2bcdb38dc08a] ["take time"=3.058019ms]
[2024/05/06 09:46:54.900 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=751b92d4-4297-4a09-baa3-2bcdb38dc08a]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/06 09:46:54.900 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:46:54.900 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.561608ms]
[2024/05/06 09:46:54.900 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d255cb94-099f-4d12-a178-fd6610e1619d] ["ddl lease"=100ms] ["stats lease"=-1ns]
[2024/05/06 09:46:54.909 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"]
[2024/05/06 09:46:54.910 +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 09:46:54.924 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=14.052248ms]
[2024/05/06 09:46:54.924 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:46:54.924 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=0bd480ac-c515-4ce5-bfbf-90c9452db370] [runWorker=true]
[2024/05/06 09:46:54.925 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true]
[2024/05/06 09:46:54.925 +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 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:46:54.925 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:46:54.925 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."]
[2024/05/06 09:46:54.927 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl]
[2024/05/06 09:46:54.927 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:46:54.928 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:46:54.928 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:46:54.928 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:46:54.928 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:46:54.931 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true]
[2024/05/06 09:46:54.932 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:46:54.982 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:46:54.982 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:46:54.986 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:46:54.990 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:46:54.993 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:46:54.994 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:46:54.994 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner]
[2024/05/06 09:46:54.995 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:46:54.995 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB]
[2024/05/06 09:46:54.996 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:46:54.997 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:46:54.997 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:46:54.997 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:46:54.998 +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 09:46:54.998 +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 09:46:55.024 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:46:55.028 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:46:55.029 +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 09:46:55.030 +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 09:46:55.050 +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 09:46:55.036 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:55.050 +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 09:46:55.036 +0000 UTC, Err:<nil>, 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 09:46:55.078 +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 09:46:55.036 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.129 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=99.446502ms]
[2024/05/06 09:46:55.135 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:46:55.135 +00:00] [WARN] [domain.go:647] ["loading schema takes a long time"] ["take time"=105.066704ms]
[2024/05/06 09:46:55.137 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449574027941117953] ["min commit ts"=449574027955011586] [key=bURCOjIAAAAA+wAAAAAAAABoVGFibGU6MTD/NAAAAAAAAAD4]
[2024/05/06 09:46:55.137 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449574027939807233] [info="{StartTs:449574027939807233 AttemptedCommitTs:449574027941117953 Key:6d44423a3200000000fb00000000000000685461626c653a3130ff3400000000000000f8 MinCommitTs:449574027955011586}"]
[2024/05/06 09:46:55.146 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=7.850327ms] [gotSchemaVersion=52] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:55.148 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=52]
[2024/05/06 09:46:55.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=52] ["take time"=10.808253ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:55.036 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.153 +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 09:46:55.036 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.159 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110]
[2024/05/06 09:46:55.160 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:55.162 +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 09:46:55.166 +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 09:46:55.164 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:46:55.166 +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 09:46:55.164 +0000 UTC, Err:<nil>, 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 09:46:55.174 +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 09:46:55.164 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=267.219ยตs] [gotSchemaVersion=53] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:46:55.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=53]
[2024/05/06 09:46:55.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=53] ["take time"=5.923818ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:55.164 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.200 +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 09:46:55.164 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:46:55.216 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112]
[2024/05/06 09:46:55.216 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:46:55.935 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"]
[2024/05/06 09:46:55.935 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/06 09:46:55.935 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/06 09:46:55.935 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:46:56.015 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16]
[2024/05/06 09:46:56.016 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl]
[2024/05/06 09:46:56.016 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true]
[2024/05/06 09:46:56.026 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000]
[2024/05/06 09:46:56.026 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000]
[2024/05/06 09:46:56.026 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000]
[2024/05/06 09:46:56.026 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000]
[2024/05/06 09:46:56.935 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig]
[2024/05/06 09:46:59.063 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_batch_size] [val=8]
[2024/05/06 09:46:59.069 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_worker_cnt] [val=1]
[2024/05/06 09:46:59.074 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024]
[2024/05/06 09:46:59.075 +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 09:46:59.082 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:46:59.082 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"]
[2024/05/06 09:46:59.089 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.089 +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:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.090 +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 09:46:59.076 +0000 UTC, Err:<nil>, 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 09:46:59.090 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:46:59.093 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.104 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=8.646237ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=54]
[2024/05/06 09:46:59.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=54] ["take time"=17.804719ms] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.114 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.121 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.121 +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:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.122 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=7.826701ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.135 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=55]
[2024/05/06 09:46:59.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=55] ["take time"=38.066072ms] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.178 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.185 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.185 +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 only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.188 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.200 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=8.533957ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.205 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56]
[2024/05/06 09:46:59.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=56] ["take time"=16.603955ms] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.208 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.214 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.217 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.217 +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 09:46:59.222 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=113] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600]
[2024/05/06 09:46:59.225 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029024821248, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.226 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029024034816, conflictStartTS=449574029024034817, conflictCommitTS=449574029024559104, 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 09:46:59.226 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029024034816, conflictStartTS=449574029024034817, conflictCommitTS=449574029024559104, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:46:59.226 +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=449574029024034816, conflictStartTS=449574029024034817, conflictCommitTS=449574029024559104, 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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029024821248, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.235 +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 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.235 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.240 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:46:59.076 +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 09:46:59.240 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.253 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=8.858188ms] [gotSchemaVersion=57] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.254 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=57]
[2024/05/06 09:46:59.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=14.511636ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.259 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.274 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.274 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.275 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=7.582132ms] [gotSchemaVersion=58] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=58]
[2024/05/06 09:46:59.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=58] ["take time"=10.086479ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.297 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.307 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.307 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.308 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.348 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=37.134256ms] [gotSchemaVersion=59] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=59]
[2024/05/06 09:46:59.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=40.051083ms] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.351 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.369 +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 09:46:59.370 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="add index"]
[2024/05/06 09:46:59.371 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.376 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=113]
[2024/05/06 09:46:59.376 +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 09:46:59.076 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.381 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=113]
[2024/05/06 09:46:59.381 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:46:59.381 +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 09:46:59.382 +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 09:46:59.389 +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 09:46:59.392 +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 09:46:59.396 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:46:59.396 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"]
[2024/05/06 09:46:59.405 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.405 +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 09:46:59.383 +0000 UTC, Err:<nil>, 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 09:46:59.405 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:46:59.406 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.417 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=8.398859ms] [gotSchemaVersion=60] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.419 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60]
[2024/05/06 09:46:59.436 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=27.73499ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.450 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.456 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.456 +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:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.457 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.468 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=8.649221ms] [gotSchemaVersion=61] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.469 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=61]
[2024/05/06 09:46:59.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=61] ["take time"=29.104002ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.499 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.505 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.506 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=8.557563ms] [gotSchemaVersion=62] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.518 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=62]
[2024/05/06 09:46:59.520 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=12.100247ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.528 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.536 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.536 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.537 +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 09:46:59.537 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600]
[2024/05/06 09:46:59.540 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.541 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.541 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.556 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.556 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.557 +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 09:46:59.558 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"]
[2024/05/06 09:46:59.559 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600]
[2024/05/06 09:46:59.559 +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 09:46:59.560 +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 09:46:59.569 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:46:59.569 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.569 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.570 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.576 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.577 +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 09:46:59.594 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:46:59.594 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.595 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.596 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.636 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.637 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.638 +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 09:46:59.659 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:46:59.659 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.660 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.661 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.674 +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"=13.772937ms]
[2024/05/06 09:46:59.674 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=114]
[2024/05/06 09:46:59.674 +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 09:46:59.681 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.683 +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 09:46:59.683 +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 09:46:59.683 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"]
[2024/05/06 09:46:59.684 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00]
[2024/05/06 09:46:59.684 +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 09:46:59.685 +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 09:46:59.781 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342]
[2024/05/06 09:46:59.781 +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:342, ArgLen:6, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.783 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.783 +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:342, ArgLen:6, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.792 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.792 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.792 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.792 +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 09:46:59.792 +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 09:46:59.793 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=114] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f72800000000000025600] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:46:59.793 +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 09:46:59.794 +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 09:46:59.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:46:59.800 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, 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 09:46:59.800 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=15.481598ms] [gotSchemaVersion=63] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63]
[2024/05/06 09:46:59.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=63] ["take time"=19.922065ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.823 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.829 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.829 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.830 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=8.016835ms] [gotSchemaVersion=64] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=64]
[2024/05/06 09:46:59.853 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=18.98787ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.854 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.861 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.861 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.862 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.871 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=7.274605ms] [gotSchemaVersion=65] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:46:59.873 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=65]
[2024/05/06 09:46:59.875 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=10.595997ms] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.879 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.888 +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 09:46:59.892 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"]
[2024/05/06 09:46:59.893 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.903 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.904 +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 09:46:59.904 +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 09:46:59.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029108707328, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.905 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=114]
[2024/05/06 09:46:59.905 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:46:59.905 +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 09:46:59.905 +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 09:46:59.909 +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 09:46:59.910 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:46:59.910 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"]
[2024/05/06 09:46:59.923 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.923 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.924 +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 09:46:59.906 +0000 UTC, Err:<nil>, 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 09:46:59.924 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:46:59.925 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=12.5665ms] [gotSchemaVersion=66] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:46:59.944 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=66]
[2024/05/06 09:46:59.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=66] ["take time"=14.27995ms] [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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.946 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.952 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.952 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.956 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=16.493502ms] [gotSchemaVersion=67] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:46:59.978 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=67]
[2024/05/06 09:46:59.981 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=23.14567ms] [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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.983 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.994 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.994 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:46:59.998 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.008 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=7.759351ms] [gotSchemaVersion=68] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=68]
[2024/05/06 09:47:00.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=68] ["take time"=10.064981ms] [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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.011 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.020 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.023 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.023 +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 09:47:00.024 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600]
[2024/05/06 09:47:00.026 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029236371456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.027 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029235322880, conflictStartTS=449574029235585024, conflictCommitTS=449574029235847168, 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 09:47:00.027 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029235322880, conflictStartTS=449574029235585024, conflictCommitTS=449574029235847168, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:00.027 +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=449574029235322880, conflictStartTS=449574029235585024, conflictCommitTS=449574029235847168, 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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029236371456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.036 +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 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.036 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.906 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.040 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, 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 09:46:59.906 +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 09:47:00.040 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.052 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=7.833867ms] [gotSchemaVersion=69] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.054 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=69]
[2024/05/06 09:47:00.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=69] ["take time"=9.925369ms] [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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.055 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.064 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.065 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.066 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=7.972538ms] [gotSchemaVersion=70] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.077 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=70]
[2024/05/06 09:47:00.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=70] ["take time"=13.456759ms] [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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.082 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.113 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.113 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.115 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.127 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=9.303867ms] [gotSchemaVersion=71] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.129 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=71]
[2024/05/06 09:47:00.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=71] ["take time"=14.542652ms] [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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.133 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.147 +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 09:47:00.148 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add primary key"]
[2024/05/06 09:47:00.148 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.153 +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 09:47:00.154 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=115]
[2024/05/06 09:47:00.155 +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 09:46:59.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.158 +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 09:47:00.159 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=115]
[2024/05/06 09:47:00.159 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:00.160 +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 09:47:00.160 +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 09:47:00.164 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:00.164 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"]
[2024/05/06 09:47:00.192 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.192 +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:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.192 +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 09:47:00.162 +0000 UTC, Err:<nil>, 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 09:47:00.193 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:00.194 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.205 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=9.484197ms] [gotSchemaVersion=72] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.207 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=72]
[2024/05/06 09:47:00.208 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=12.065361ms] [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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.209 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.217 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.217 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.220 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.230 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=8.616485ms] [gotSchemaVersion=73] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.250 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=73]
[2024/05/06 09:47:00.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=73] ["take time"=30.390737ms] [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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.253 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.260 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.260 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.263 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.273 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=8.101471ms] [gotSchemaVersion=74] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=74]
[2024/05/06 09:47:00.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=74] ["take time"=10.440644ms] [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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.276 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.283 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.283 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.284 +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 09:47:00.284 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600]
[2024/05/06 09:47:00.289 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.290 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.290 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.303 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.304 +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 09:47:00.307 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"]
[2024/05/06 09:47:00.309 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600]
[2024/05/06 09:47:00.309 +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 09:47:00.309 +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 09:47:00.321 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:00.321 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.322 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.322 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.333 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.337 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.338 +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 09:47:00.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 09:47:00.351 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.352 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.352 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.360 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.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 09:47:00.388 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:00.389 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.389 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.390 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.397 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.397 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.398 +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 09:47:00.414 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:00.414 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.415 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.415 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.426 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.426 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.427 +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 09:47:00.432 +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"=18.571906ms]
[2024/05/06 09:47:00.433 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116]
[2024/05/06 09:47:00.433 +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 09:47:00.436 +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 09:47:00.436 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"]
[2024/05/06 09:47:00.436 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00]
[2024/05/06 09:47:00.436 +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 09:47:00.437 +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 09:47:00.559 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342]
[2024/05/06 09:47:00.559 +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:342, ArgLen:7, start time: 2024-05-06 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.561 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.562 +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:342, ArgLen:7, start time: 2024-05-06 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.583 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.583 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.583 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 9, 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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.583 +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 09:47:00.583 +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 09:47:00.584 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=116] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f7280000000000001d600] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:00.584 +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 09:47:00.586 +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 09:47:00.162 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:00.592 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, 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 09:47:00.592 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=8.043614ms] [gotSchemaVersion=75] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=75]
[2024/05/06 09:47:00.629 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=35.166492ms] [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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.630 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.638 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.638 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.639 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.659 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=17.443262ms] [gotSchemaVersion=76] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.664 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=76]
[2024/05/06 09:47:00.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=76] ["take time"=26.507481ms] [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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.669 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.676 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.676 +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 reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.680 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=12.595859ms] [gotSchemaVersion=77] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=77]
[2024/05/06 09:47:00.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=77] ["take time"=18.586498ms] [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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.711 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.718 +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 09:47:00.719 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add primary key"]
[2024/05/06 09:47:00.720 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.722 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.723 +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 09:47:00.162 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029304528896, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.724 +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 09:47:00.725 +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 09:47:00.728 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=116]
[2024/05/06 09:47:00.728 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:00.728 +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 09:47:00.729 +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 09:47:00.734 +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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:00.735 +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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:00.745 +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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.747 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.748 +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 09:47:00.73 +0000 UTC, Err:<nil>, 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 09:47:00.748 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:00.748 +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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.749 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029425377280, conflictStartTS=449574029425639424, conflictCommitTS=449574029425901568, 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 09:47:00.750 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029425377280, conflictStartTS=449574029425639424, conflictCommitTS=449574029425901568, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:00.750 +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=449574029425377280, conflictStartTS=449574029425639424, conflictCommitTS=449574029425901568, 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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.753 +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 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.753 +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:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.73 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.753 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:00.73 +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 09:47:00.753 +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 09:47:00.73 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.754 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:00.73 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.756 +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 09:47:00.73 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.757 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=117]
[2024/05/06 09:47:00.757 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:00.757 +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 09:47:00.757 +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 09:47:00.760 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:00.761 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:00.768 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.768 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.769 +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 09:47:00.759 +0000 UTC, Err:<nil>, 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 09:47:00.769 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:00.769 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.773 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=79] ["start time"=366.207ยตs] [gotSchemaVersion=79] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.774 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=79]
[2024/05/06 09:47:00.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=79] ["take time"=2.026705ms] [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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.776 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.786 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.788 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.794 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.796 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029436125184, conflictStartTS=449574029436125185, conflictCommitTS=449574029436387328, 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 09:47:00.796 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029436125184, conflictStartTS=449574029436125185, conflictCommitTS=449574029436387328, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:00.796 +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=449574029436125184, conflictStartTS=449574029436125185, conflictCommitTS=449574029436387328, 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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.803 +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 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.803 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.759 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.804 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:00.759 +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 09:47:00.804 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.805 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118]
[2024/05/06 09:47:00.805 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.813 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.813 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.814 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.816 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=81] ["start time"=498.265ยตs] [gotSchemaVersion=81] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.817 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=81]
[2024/05/06 09:47:00.828 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=12.387481ms] [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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.830 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.835 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.835 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.838 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=311.139ยตs] [gotSchemaVersion=82] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.842 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=82]
[2024/05/06 09:47:00.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=82] ["take time"=4.936418ms] [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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.846 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.852 +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 09:47:00.853 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="add primary key"]
[2024/05/06 09:47:00.854 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.856 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118]
[2024/05/06 09:47:00.856 +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 09:47:00.759 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.859 +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 09:47:00.862 +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 09:47:00.862 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=118]
[2024/05/06 09:47:00.863 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:00.863 +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 09:47:00.863 +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 09:47:00.866 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:00.866 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:00.875 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.875 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.876 +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 09:47:00.865 +0000 UTC, Err:<nil>, 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 09:47:00.876 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:00.876 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.881 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=418.374ยตs] [gotSchemaVersion=83] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.882 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=83]
[2024/05/06 09:47:00.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=83] ["take time"=2.362937ms] [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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.885 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.902 +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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.902 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:00.865 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.902 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:00.865 +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 09:47:00.903 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.904 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119]
[2024/05/06 09:47:00.904 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.915 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.915 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.918 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.920 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=328.775ยตs] [gotSchemaVersion=84] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=84]
[2024/05/06 09:47:00.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=84] ["take time"=2.802132ms] [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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.923 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.930 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.930 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.935 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.938 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=312.176ยตs] [gotSchemaVersion=85] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=85]
[2024/05/06 09:47:00.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=85] ["take time"=3.355656ms] [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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.942 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.949 +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 09:47:00.950 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="add primary key"]
[2024/05/06 09:47:00.951 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.953 +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 09:47:00.954 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119]
[2024/05/06 09:47:00.955 +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 09:47:00.865 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.955 +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 09:47:00.962 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=119]
[2024/05/06 09:47:00.962 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:00.962 +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 09:47:00.963 +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 09:47:00.966 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:00.966 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:00.988 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.988 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.988 +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 09:47:00.964 +0000 UTC, Err:<nil>, 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 09:47:00.988 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:00.990 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.992 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=339.215ยตs] [gotSchemaVersion=86] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:00.994 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=86]
[2024/05/06 09:47:00.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=86] ["take time"=3.967063ms] [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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:00.997 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.008 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.008 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.021 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.023 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=338.413ยตs] [gotSchemaVersion=87] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.025 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=87]
[2024/05/06 09:47:01.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=87] ["take time"=2.041167ms] [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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.026 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.033 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.035 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.041 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.043 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029500874753, conflictStartTS=449574029501136896, conflictCommitTS=449574029501399040, 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 09:47:01.043 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029500874753, conflictStartTS=449574029501136896, conflictCommitTS=449574029501399040, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:01.043 +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=449574029500874753, conflictStartTS=449574029501136896, conflictCommitTS=449574029501399040, 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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.053 +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 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.053 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.964 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.058 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, 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 09:47:00.964 +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 09:47:01.058 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=89] ["start time"=360.416ยตs] [gotSchemaVersion=89] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.062 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=89]
[2024/05/06 09:47:01.063 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=2.877249ms] [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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.064 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.071 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.071 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.072 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.074 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=360.96ยตs] [gotSchemaVersion=90] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.076 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=90]
[2024/05/06 09:47:01.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=90] ["take time"=4.242461ms] [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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.080 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.092 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.092 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.094 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=379.544ยตs] [gotSchemaVersion=91] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=91]
[2024/05/06 09:47:01.100 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=4.662798ms] [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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.102 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.114 +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 09:47:01.119 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="add primary key"]
[2024/05/06 09:47:01.120 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.123 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=120]
[2024/05/06 09:47:01.123 +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 09:47:01.124 +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 09:47:00.964 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.125 +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 09:47:01.126 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=120]
[2024/05/06 09:47:01.127 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:01.127 +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 09:47:01.127 +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 09:47:01.129 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:01.129 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:01.147 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.147 +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 09:47:01.128 +0000 UTC, Err:<nil>, 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 09:47:01.147 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:01.157 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.159 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=351.787ยตs] [gotSchemaVersion=92] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.161 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=92]
[2024/05/06 09:47:01.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=92] ["take time"=11.31884ms] [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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.172 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.179 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.179 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.185 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.202 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=404.367ยตs] [gotSchemaVersion=93] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=93]
[2024/05/06 09:47:01.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=93] ["take time"=19.278782ms] [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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.209 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.221 +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 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.221 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.128 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.225 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:01.128 +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 09:47:01.225 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.227 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=336.28ยตs] [gotSchemaVersion=94] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.231 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=94]
[2024/05/06 09:47:01.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=6.029474ms] [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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.234 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.245 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.245 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.247 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.249 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=364.344ยตs] [gotSchemaVersion=95] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.250 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=95]
[2024/05/06 09:47:01.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=95] ["take time"=2.048309ms] [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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.252 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.259 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.259 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.259 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=334.807ยตs] [gotSchemaVersion=96] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=96]
[2024/05/06 09:47:01.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=96] ["take time"=2.858041ms] [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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.265 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.307 +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 09:47:01.313 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add primary key"]
[2024/05/06 09:47:01.313 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.318 +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 09:47:01.323 +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 09:47:01.325 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121]
[2024/05/06 09:47:01.326 +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 09:47:01.128 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.330 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=121]
[2024/05/06 09:47:01.330 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:01.330 +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 09:47:01.331 +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 09:47:01.339 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:01.340 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:01.348 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.348 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.349 +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 09:47:01.338 +0000 UTC, Err:<nil>, 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 09:47:01.349 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:01.349 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.352 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=545.7ยตs] [gotSchemaVersion=97] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.354 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=97]
[2024/05/06 09:47:01.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=97] ["take time"=4.040357ms] [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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.357 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.366 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.366 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.373 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.376 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=473.786ยตs] [gotSchemaVersion=98] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.377 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=98]
[2024/05/06 09:47:01.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=98] ["take time"=21.372185ms] [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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.404 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.414 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.414 +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:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.422 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.424 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=544.428ยตs] [gotSchemaVersion=99] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=99]
[2024/05/06 09:47:01.434 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=10.468832ms] [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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.435 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.459 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.465 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.465 +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 09:47:01.466 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:01.468 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029614383104, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.470 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029612548097, conflictStartTS=449574029612810240, conflictCommitTS=449574029613072384, 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 09:47:01.470 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029612548097, conflictStartTS=449574029612810240, conflictCommitTS=449574029613072384, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:01.470 +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=449574029612548097, conflictStartTS=449574029612810240, conflictCommitTS=449574029613072384, 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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029614383104, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.478 +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 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.478 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.338 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.479 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:01.338 +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 09:47:01.479 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=477.582ยตs] [gotSchemaVersion=100] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=100]
[2024/05/06 09:47:01.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=100] ["take time"=2.475605ms] [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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.484 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.494 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.494 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.495 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.497 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=351.128ยตs] [gotSchemaVersion=101] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.498 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=101]
[2024/05/06 09:47:01.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=101] ["take time"=2.510639ms] [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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.500 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.507 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.507 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.508 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.510 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=311.806ยตs] [gotSchemaVersion=102] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.511 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=102]
[2024/05/06 09:47:01.512 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=2.836048ms] [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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.513 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.520 +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 09:47:01.521 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add primary key"]
[2024/05/06 09:47:01.522 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.526 +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 09:47:01.528 +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 09:47:01.531 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=122]
[2024/05/06 09:47:01.531 +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 09:47:01.338 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.534 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=122]
[2024/05/06 09:47:01.534 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:01.534 +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 09:47:01.535 +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 09:47:01.538 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:01.538 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:01.569 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.569 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.569 +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 09:47:01.536 +0000 UTC, Err:<nil>, 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 09:47:01.569 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:01.570 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=1.028566ms] [gotSchemaVersion=103] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.579 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=103]
[2024/05/06 09:47:01.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=103] ["take time"=6.676141ms] [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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.580 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.588 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.588 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.594 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=316.29ยตs] [gotSchemaVersion=104] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.597 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=104]
[2024/05/06 09:47:01.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=104] ["take time"=2.590193ms] [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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.599 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.606 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.606 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.612 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.614 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=352.652ยตs] [gotSchemaVersion=105] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.615 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=105]
[2024/05/06 09:47:01.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=105] ["take time"=3.00844ms] [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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.617 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.627 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.627 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.628 +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 09:47:01.629 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:01.631 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.632 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.632 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.637 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.637 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.638 +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 09:47:01.640 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:7,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:01.641 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:01.641 +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 09:47:01.641 +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 09:47:01.656 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:01.656 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.657 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.658 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.666 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.666 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.666 +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 09:47:01.678 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:01.678 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.679 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.679 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.698 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.698 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.699 +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 09:47:01.711 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:01.711 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.712 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.713 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.720 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.720 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.721 +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 09:47:01.732 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:01.733 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.733 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.734 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.755 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.755 +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 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.755 +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 09:47:01.833 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=224]
[2024/05/06 09:47:01.833 +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:224, ArgLen:7, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.849 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.849 +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:224, ArgLen:7, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.863 +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:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.863 +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:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.863 +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:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.863 +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 09:47:01.863 +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 09:47:01.864 +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 09:47:01.864 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=123] ["total added count"=0] ["start key"=74800000000000006f5f728000000000000001] ["result next key"=74800000000000006f5f7280000000000005e000] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:01.865 +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:224, ArgLen:7, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:01.877 +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:224, ArgLen:3, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, 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 09:47:01.877 +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:224, ArgLen:3, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.880 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=394.863ยตs] [gotSchemaVersion=106] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=106]
[2024/05/06 09:47:01.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=106] ["take time"=5.813794ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:224, ArgLen:3, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.887 +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:224, ArgLen:3, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.893 +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:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.893 +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 only, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.894 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=454.442ยตs] [gotSchemaVersion=107] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.899 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=107]
[2024/05/06 09:47:01.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=107] ["take time"=5.216305ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.904 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.915 +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:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.915 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.918 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.920 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=378.322ยตs] [gotSchemaVersion=108] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=108]
[2024/05/06 09:47:01.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=108] ["take time"=2.027501ms] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.922 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.934 +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 09:47:01.935 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add primary key"]
[2024/05/06 09:47:01.935 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.943 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.944 +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:224, ArgLen:2, start time: 2024-05-06 09:47:01.536 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574029656850432, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.947 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=123]
[2024/05/06 09:47:01.947 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:01.947 +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 09:47:01.947 +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 09:47:01.951 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:01.951 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:01.958 +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 09:47:01.960 +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 09:47:01.967 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.967 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.967 +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 09:47:01.948 +0000 UTC, Err:<nil>, 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 09:47:01.967 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:01.968 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=361.729ยตs] [gotSchemaVersion=109] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.971 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=109]
[2024/05/06 09:47:01.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=109] ["take time"=3.074846ms] [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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.974 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.985 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.985 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.993 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.995 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=501.631ยตs] [gotSchemaVersion=110] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:01.997 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=110]
[2024/05/06 09:47:01.997 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=2.058206ms] [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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:01.998 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.005 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.005 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.013 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.015 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=442.588ยตs] [gotSchemaVersion=111] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:02.016 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=111]
[2024/05/06 09:47:02.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=111] ["take time"=16.3863ms] [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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.032 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.040 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.040 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.040 +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 09:47:02.041 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:02.057 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.058 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.058 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.065 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.065 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.066 +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 09:47:02.067 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:02.068 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:02.068 +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 09:47:02.069 +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 09:47:02.080 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:02.080 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.081 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.082 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.091 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.091 +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:0, ArgLen:0, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.091 +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 09:47:02.104 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:02.104 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.104 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.105 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.114 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.114 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.114 +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 09:47:02.131 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:02.131 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.132 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.133 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.152 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.152 +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:0, ArgLen:0, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.152 +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 09:47:02.176 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:02.176 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.177 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.178 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.187 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.187 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.188 +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 09:47:02.269 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=288]
[2024/05/06 09:47:02.269 +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:288, ArgLen:7, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.279 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.280 +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:288, ArgLen:7, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.289 +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:288, ArgLen:0, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.289 +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:288, ArgLen:0, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.289 +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 09:47:02.291 +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"=117.215367ms]
[2024/05/06 09:47:02.291 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=124]
[2024/05/06 09:47:02.291 +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 09:47:02.291 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:02.334 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.337 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=433.463ยตs] [gotSchemaVersion=112] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:02.338 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=112]
[2024/05/06 09:47:02.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=112] ["take time"=2.04178ms] [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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.339 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.347 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.347 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029764853760, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.348 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=124] [table=t] [index=PRIMARY]
[2024/05/06 09:47:02.348 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=361.419ยตs] [gotSchemaVersion=113] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:02.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=113]
[2024/05/06 09:47:02.356 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=5.938118ms] [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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.357 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.365 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.365 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.366 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000008ff]
[2024/05/06 09:47:02.371 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.372 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.373 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.382 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.382 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.384 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f69ffff000000000008,EndKey:74800000000000006f5f69ffff000000000008ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:02.385 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000008] ["end key"=74800000000000006f5f69ffff000000000008ff]
[2024/05/06 09:47:02.385 +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 09:47:02.385 +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 09:47:02.466 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:02.466 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.466 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.482 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.486 +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"=157.953ยตs]
[2024/05/06 09:47:02.486 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=124]
[2024/05/06 09:47:02.486 +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 09:47:02.491 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.491 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.493 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:02.561 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=]
[2024/05/06 09:47:02.561 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.564 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=383.811ยตs] [gotSchemaVersion=114] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:02.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=114]
[2024/05/06 09:47: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=114] ["take time"=12.907584ms] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.590 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.604 +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 09:47:02.609 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="add primary key"]
[2024/05/06 09:47:02.609 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.613 +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 09:47:01.948 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574029850312704, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:02.618 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124]
[2024/05/06 09:47:02.618 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:02.618 +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 09:47:02.621 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:02.621 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"]
[2024/05/06 09:47:02.632 +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 09:47:02.632 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.636 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.638 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.641 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574029920043008, conflictStartTS=449574029920305153, conflictCommitTS=449574029920829440, 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 09:47:02.642 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574029920043008, conflictStartTS=449574029920305153, conflictCommitTS=449574029920829440, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:02.642 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574029920043008, conflictStartTS=449574029920305153, conflictCommitTS=449574029920829440, 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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.658 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.658 +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 09:47:02.62 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.659 +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 09:47:02.62 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:02.659 +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 09:47:02.62 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.659 +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 09:47:02.62 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.662 +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 09:47:02.62 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.662 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=125]
[2024/05/06 09:47:02.662 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:02.662 +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 09:47:02.663 +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 09:47:02.670 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:02.670 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"]
[2024/05/06 09:47:02.678 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.678 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.685 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=53.811ยตs] [gotSchemaVersion=114] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:02.689 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=116] ["start time"=393.01ยตs] [gotSchemaVersion=116] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:02.692 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=116]
[2024/05/06 09:47:02.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=116] ["take time"=6.050016ms] [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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.694 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.721 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.723 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.724 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=400.436ยตs] [gotSchemaVersion=117] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:02.728 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=117]
[2024/05/06 09:47:02.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=117] ["take time"=5.387351ms] [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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.734 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.744 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.744 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.747 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.750 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=429.279ยตs] [gotSchemaVersion=118] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:02.751 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=118]
[2024/05/06 09:47:02.761 +00:00] [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"=11.642066ms] [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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.762 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.766 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.766 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.768 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.777 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=570.656ยตs] [gotSchemaVersion=119] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:02.779 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=119]
[2024/05/06 09:47:02.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=119] ["take time"=4.221966ms] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.783 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.792 +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 09:47:02.800 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop primary key"]
[2024/05/06 09:47:02.801 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.804 +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 09:47:02.664 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:02.927 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=126]
[2024/05/06 09:47:02.952 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:02.987 +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 09:47:02.991 +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 09:47:03.011 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:03.012 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:03.053 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.053 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.054 +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 09:47:02.99 +0000 UTC, Err:<nil>, 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 09:47:03.054 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:03.057 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=450.099ยตs] [gotSchemaVersion=120] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=120]
[2024/05/06 09:47:03.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=120] ["take time"=4.228734ms] [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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.066 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.078 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.079 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.079 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.082 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=440.029ยตs] [gotSchemaVersion=121] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.083 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=121]
[2024/05/06 09:47:03.086 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=4.831947ms] [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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.087 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.096 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.096 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.097 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.099 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=451.885ยตs] [gotSchemaVersion=122] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.101 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=122]
[2024/05/06 09:47:03.101 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=2.188297ms] [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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.101 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.108 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.109 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.109 +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 09:47:03.109 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:03.111 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.112 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.112 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.119 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.119 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.119 +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 09:47:03.121 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:03.122 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:03.122 +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 09:47:03.122 +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 09:47:03.131 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:03.131 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.132 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.132 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.139 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.139 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.139 +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 09:47:03.167 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:03.167 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.168 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.169 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.175 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.175 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.175 +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 09:47:03.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 09:47:03.188 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.188 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.189 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.195 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.195 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.196 +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 09:47:03.221 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:03.221 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.223 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.223 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.232 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.233 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.233 +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 09:47:03.326 +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"=103.270538ms]
[2024/05/06 09:47:03.326 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=127]
[2024/05/06 09:47:03.326 +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 09:47:03.380 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192]
[2024/05/06 09:47:03.380 +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:192, ArgLen:7, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.385 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.386 +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:192, ArgLen:7, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.392 +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:192, ArgLen:0, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.392 +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:192, ArgLen:0, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.392 +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 09:47:03.396 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:03.514 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.516 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=398.944ยตs] [gotSchemaVersion=123] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.518 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=123]
[2024/05/06 09:47:03.520 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=4.215512ms] [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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.521 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.529 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030045085696, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.529 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=127] [table=t] [index=PRIMARY]
[2024/05/06 09:47:03.530 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=347.678ยตs] [gotSchemaVersion=124] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.533 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=124]
[2024/05/06 09:47:03.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=2.0344ms] [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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.535 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.543 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.543 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.543 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff000000000009ff]
[2024/05/06 09:47:03.552 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.553 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.554 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.559 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.559 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.561 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f69ffff000000000009,EndKey:74800000000000006f5f69ffff000000000009ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:03.561 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000009] ["end key"=74800000000000006f5f69ffff000000000009ff]
[2024/05/06 09:47:03.562 +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 09:47:03.562 +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 09:47:03.612 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:03.612 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.613 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.613 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.620 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.620 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.663 +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"=230.351ยตs]
[2024/05/06 09:47:03.663 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=127]
[2024/05/06 09:47:03.663 +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 09:47:03.698 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:03.698 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.699 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.700 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.707 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.708 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.710 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:03.777 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=]
[2024/05/06 09:47:03.778 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.780 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=386.476ยตs] [gotSchemaVersion=125] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.782 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=125]
[2024/05/06 09:47:03.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=125] ["take time"=5.010976ms] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.786 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.793 +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 09:47:03.794 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="add primary key"]
[2024/05/06 09:47:03.794 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.797 +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 09:47:02.99 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030158856193, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.797 +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 09:47:03.800 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=127]
[2024/05/06 09:47:03.800 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:03.800 +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 09:47:03.802 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:03.802 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"]
[2024/05/06 09:47:03.806 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.806 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.809 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.811 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=313.722ยตs] [gotSchemaVersion=126] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:03.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=126]
[2024/05/06 09:47:03.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=2.041322ms] [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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.814 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.817 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.818 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.819 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=327.88ยตs] [gotSchemaVersion=127] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:03.821 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=127]
[2024/05/06 09:47:03.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=127] ["take time"=2.269528ms] [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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.823 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.828 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.828 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.829 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.831 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=315.598ยตs] [gotSchemaVersion=128] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:03.832 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=128]
[2024/05/06 09:47:03.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=128] ["take time"=4.764478ms] [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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.836 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.839 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.839 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.840 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=317.204ยตs] [gotSchemaVersion=129] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:03.843 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=129]
[2024/05/06 09:47:03.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=129] ["take time"=3.869981ms] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.846 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.855 +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 09:47:03.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop primary key"]
[2024/05/06 09:47:03.856 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.859 +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 09:47:03.801 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:03.862 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=128]
[2024/05/06 09:47:03.862 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:03.862 +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 09:47:03.864 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:03.864 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:03.871 +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 09:47:03.879 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.879 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.880 +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 09:47:03.863 +0000 UTC, Err:<nil>, 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 09:47:03.880 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:03.880 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.909 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449574030247985152] ["min commit ts"=449574030248247297] [key=bURCOjIAAAAA+wAAAAAAAABoVGFibGU6MTH/MQAAAAAAAAD4]
[2024/05/06 09:47:03.909 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449574030246936577] [info="{StartTs:449574030246936577 AttemptedCommitTs:449574030247985152 Key:6d44423a3200000000fb00000000000000685461626c653a3131ff3100000000000000f8 MinCommitTs:449574030248247297}"]
[2024/05/06 09:47:03.911 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=381.014ยตs] [gotSchemaVersion=130] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.912 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=130]
[2024/05/06 09:47:03.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=130] ["take time"=15.9865ms] [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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.927 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.935 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.935 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.936 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.938 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=344.469ยตs] [gotSchemaVersion=131] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=131]
[2024/05/06 09:47:03.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=131] ["take time"=2.844822ms] [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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.958 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.965 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.965 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.966 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.968 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=400.821ยตs] [gotSchemaVersion=132] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:03.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=132]
[2024/05/06 09:47:03.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=132] ["take time"=6.936576ms] [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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:03.981 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.012 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.012 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.013 +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 09:47:04.013 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:04.015 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.016 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.016 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.025 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.025 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.025 +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 09:47:04.031 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:04.032 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:04.032 +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 09:47:04.032 +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 09:47:04.041 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:04.041 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.042 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.043 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.060 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.060 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.061 +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 09:47:04.074 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:04.074 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.075 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.075 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.083 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.083 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.083 +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 09:47:04.100 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:04.100 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.101 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.107 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.108 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.108 +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 09:47:04.122 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:04.122 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.123 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.123 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.132 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.132 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.133 +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 09:47:04.295 +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"=161.850741ms]
[2024/05/06 09:47:04.295 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=129]
[2024/05/06 09:47:04.295 +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 09:47:04.305 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=128]
[2024/05/06 09:47:04.305 +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:128, ArgLen:7, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.306 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.318 +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:128, ArgLen:7, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.363 +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:128, ArgLen:0, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.363 +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:128, ArgLen:0, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.364 +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 09:47:04.366 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:04.419 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.421 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=414.908ยตs] [gotSchemaVersion=133] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=133]
[2024/05/06 09:47:04.422 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=2.057817ms] [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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.423 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.434 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.434 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030282063872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.434 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=129] [table=t] [index=PRIMARY]
[2024/05/06 09:47:04.435 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=415.748ยตs] [gotSchemaVersion=134] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.439 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=134]
[2024/05/06 09:47:04.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=134] ["take time"=2.5518ms] [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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.454 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.462 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.462 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.462 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000aff]
[2024/05/06 09:47:04.466 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.468 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.468 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.477 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.477 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.479 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f69ffff00000000000a,EndKey:74800000000000006f5f69ffff00000000000aff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:04.480 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000a] ["end key"=74800000000000006f5f69ffff00000000000aff]
[2024/05/06 09:47:04.480 +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 09:47:04.481 +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 09:47:04.550 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:04.560 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.560 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.561 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.568 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.568 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.596 +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"=247.249ยตs]
[2024/05/06 09:47:04.596 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=129]
[2024/05/06 09:47:04.596 +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 09:47:04.635 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:04.635 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.636 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.638 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.649 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.649 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.651 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:04.767 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=]
[2024/05/06 09:47:04.767 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.770 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=354.901ยตs] [gotSchemaVersion=135] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=135]
[2024/05/06 09:47: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=135] ["take time"=2.035174ms] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.773 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.782 +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 09:47:04.786 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="add primary key"]
[2024/05/06 09:47:04.786 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.790 +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 09:47:04.791 +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 09:47:03.863 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030399766529, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.793 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=129]
[2024/05/06 09:47:04.793 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:04.794 +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 09:47:04.799 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:04.799 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"]
[2024/05/06 09:47:04.808 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.808 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.809 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.811 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=399.59ยตs] [gotSchemaVersion=136] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:04.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=136]
[2024/05/06 09:47:04.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=2.608549ms] [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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.815 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.826 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.826 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.828 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.831 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=424.347ยตs] [gotSchemaVersion=137] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:04.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=137]
[2024/05/06 09:47:04.835 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=4.911874ms] [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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.836 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.857 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.858 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.860 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.867 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=385.903ยตs] [gotSchemaVersion=138] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:04.869 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=138]
[2024/05/06 09:47:04.887 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=19.952741ms] [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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.890 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.898 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.898 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.899 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.901 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=138] [neededSchemaVersion=139] ["start time"=348.566ยตs] [gotSchemaVersion=139] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:04.902 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=139]
[2024/05/06 09:47: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=139] ["take time"=2.398526ms] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.914 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.919 +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 09:47:04.922 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="drop primary key"]
[2024/05/06 09:47:04.922 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.926 +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 09:47:04.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:04.929 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=130]
[2024/05/06 09:47:04.929 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:04.929 +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 09:47:04.931 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:04.931 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"]
[2024/05/06 09:47:04.941 +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 09:47:04.942 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.942 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.942 +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 09:47:04.93 +0000 UTC, Err:<nil>, 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 09:47:04.942 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:04.944 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.945 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=139] [neededSchemaVersion=140] ["start time"=338.899ยตs] [gotSchemaVersion=140] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.947 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=140]
[2024/05/06 09:47:04.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=140] ["take time"=2.817632ms] [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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.949 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.954 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.954 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.955 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=140] [neededSchemaVersion=141] ["start time"=308.078ยตs] [gotSchemaVersion=141] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=141]
[2024/05/06 09:47:04.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=141] ["take time"=2.79186ms] [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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.960 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.966 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.966 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.967 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.968 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=141] [neededSchemaVersion=142] ["start time"=321.065ยตs] [gotSchemaVersion=142] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:04.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=142]
[2024/05/06 09:47:04.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=142] ["take time"=2.718418ms] [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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.971 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.976 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.976 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.977 +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 09:47:04.977 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:04.980 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.982 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:04.983 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.992 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.993 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:04.993 +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 09:47:04.995 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:04.996 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:04.996 +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 09:47:04.996 +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 09:47:05.011 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:05.011 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.012 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.012 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.018 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.018 +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:0, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.019 +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 09:47:05.032 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:05.032 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.033 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.033 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.038 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.038 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.039 +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 09:47:05.053 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:05.053 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.053 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.054 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.060 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.060 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.060 +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 09:47:05.073 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:05.073 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.074 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.074 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.080 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.080 +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:0, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.080 +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 09:47:05.093 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:05.093 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.094 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.094 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.102 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.102 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.102 +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 09:47:05.172 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=416]
[2024/05/06 09:47:05.176 +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:416, ArgLen:7, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.177 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.177 +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:416, ArgLen:7, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.186 +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:416, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.186 +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:416, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.187 +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 09:47:05.194 +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"=97.356255ms]
[2024/05/06 09:47:05.194 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=131]
[2024/05/06 09:47:05.194 +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 09:47:05.194 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:05.244 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.247 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=142] [neededSchemaVersion=143] ["start time"=1.894505ms] [gotSchemaVersion=143] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:05.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=143]
[2024/05/06 09:47:05.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=5.054081ms] [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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.251 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.258 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.258 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030534770688, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.258 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=131] [table=t] [index=PRIMARY]
[2024/05/06 09:47:05.259 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.261 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=143] [neededSchemaVersion=144] ["start time"=365.11ยตs] [gotSchemaVersion=144] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:05.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=144]
[2024/05/06 09:47:05.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=144] ["take time"=5.903427ms] [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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.268 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.275 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.276 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.276 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000bff]
[2024/05/06 09:47:05.292 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.296 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.297 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.315 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.315 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.318 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f69ffff00000000000b,EndKey:74800000000000006f5f69ffff00000000000bff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:05.320 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000b] ["end key"=74800000000000006f5f69ffff00000000000bff]
[2024/05/06 09:47:05.320 +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 09:47:05.320 +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 09:47:05.421 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:05.421 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.422 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000000b, 74800000000000006f5f69ffff00000000000b00), jobID: 131"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000000b0000] ["take time"=191.764ยตs]
[2024/05/06 09:47:05.422 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=131]
[2024/05/06 09:47:05.422 +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 09:47:05.423 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.423 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.431 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.431 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.433 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:05.510 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=]
[2024/05/06 09:47:05.510 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=144] [neededSchemaVersion=145] ["start time"=377.511ยตs] [gotSchemaVersion=145] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"]
[2024/05/06 09:47:05.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=145]
[2024/05/06 09:47:05.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=145] ["take time"=2.05497ms] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.515 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.521 +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 09:47:05.523 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=131] [jobType="add primary key"]
[2024/05/06 09:47:05.523 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.528 +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 09:47:04.93 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030613151744, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.533 +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 09:47:05.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=131]
[2024/05/06 09:47:05.533 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:05.534 +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 09:47:05.545 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:05.545 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"]
[2024/05/06 09:47:05.554 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.554 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.556 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.558 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=145] [neededSchemaVersion=146] ["start time"=364.387ยตs] [gotSchemaVersion=146] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:05.559 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=146]
[2024/05/06 09:47:05.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=146] ["take time"=2.110812ms] [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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.560 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.566 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.566 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.566 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.568 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=146] [neededSchemaVersion=147] ["start time"=356.71ยตs] [gotSchemaVersion=147] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:05.570 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=147]
[2024/05/06 09:47:05.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=147] ["take time"=2.199925ms] [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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.571 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.577 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.577 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.578 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.583 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=147] [neededSchemaVersion=148] ["start time"=357.357ยตs] [gotSchemaVersion=148] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:05.585 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=148]
[2024/05/06 09:47:05.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=148] ["take time"=2.045418ms] [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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.589 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.595 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.595 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.596 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.599 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=148] [neededSchemaVersion=149] ["start time"=364.854ยตs] [gotSchemaVersion=149] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"]
[2024/05/06 09:47:05.601 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=149]
[2024/05/06 09:47:05.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=149] ["take time"=2.940664ms] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.611 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.617 +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 09:47:05.618 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop primary key"]
[2024/05/06 09:47:05.618 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.621 +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 09:47:05.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:05.627 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=132]
[2024/05/06 09:47:05.627 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:05.627 +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 09:47:05.638 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:05.638 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:05.645 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.655 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.656 +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 09:47:05.628 +0000 UTC, Err:<nil>, 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 09:47:05.656 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:05.658 +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 09:47:05.658 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.660 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574030709882880, conflictStartTS=449574030710145024, conflictCommitTS=449574030711193601, 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 09:47:05.660 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574030709882880, conflictStartTS=449574030710145024, conflictCommitTS=449574030711193601, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:05.660 +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=449574030709882880, conflictStartTS=449574030710145024, conflictCommitTS=449574030711193601, 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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.669 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.670 +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 09:47:05.628 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.670 +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 09:47:05.628 +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 09:47:05.670 +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 09:47:05.628 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.670 +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 09:47:05.628 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.673 +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 09:47:05.628 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.675 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=133]
[2024/05/06 09:47:05.675 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:05.675 +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 09:47:05.676 +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 09:47:05.680 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:05.680 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:05.688 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.688 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.689 +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 09:47:05.677 +0000 UTC, Err:<nil>, 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 09:47:05.689 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:05.690 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.692 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=149] [neededSchemaVersion=151] ["start time"=386.762ยตs] [gotSchemaVersion=151] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=151]
[2024/05/06 09:47:05.694 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=2.01802ms] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.695 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.732 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.735 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.736 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.737 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574030732689408, conflictStartTS=449574030732951552, conflictCommitTS=449574030733475840, 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 09:47:05.737 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574030732689408, conflictStartTS=449574030732951552, conflictCommitTS=449574030733475840, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:05.737 +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=449574030732689408, conflictStartTS=449574030732951552, conflictCommitTS=449574030733475840, 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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.752 +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 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.752 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.677 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.753 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:05.677 +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 09:47:05.753 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.754 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134]
[2024/05/06 09:47:05.755 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.762 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.763 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.780 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=151] [neededSchemaVersion=153] ["start time"=415.611ยตs] [gotSchemaVersion=153] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.782 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=153]
[2024/05/06 09:47:05.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=153] ["take time"=4.228489ms] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.787 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.801 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.801 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.802 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.805 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=153] [neededSchemaVersion=154] ["start time"=260.355ยตs] [gotSchemaVersion=154] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=154]
[2024/05/06 09:47:05.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=154] ["take time"=5.222916ms] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.814 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.823 +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 09:47:05.824 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="add index"]
[2024/05/06 09:47:05.825 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.829 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134]
[2024/05/06 09:47:05.829 +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 09:47:05.677 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.832 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=134]
[2024/05/06 09:47:05.832 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:05.832 +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 09:47:05.833 +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 09:47:05.836 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:05.836 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:05.836 +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 09:47:05.838 +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 09:47:05.848 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.848 +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 09:47:05.834 +0000 UTC, Err:<nil>, 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 09:47:05.848 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:05.849 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.857 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=154] [neededSchemaVersion=155] ["start time"=388.658ยตs] [gotSchemaVersion=155] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.864 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=155]
[2024/05/06 09:47:05.864 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=8.015293ms] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.866 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.877 +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 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.877 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.877 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:05.834 +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 09:47:05.877 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.878 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135]
[2024/05/06 09:47:05.879 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.887 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.887 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.890 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.894 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=155] [neededSchemaVersion=156] ["start time"=416.694ยตs] [gotSchemaVersion=156] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.895 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=156]
[2024/05/06 09:47:05.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=4.187335ms] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.898 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.904 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.904 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.905 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.907 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=156] [neededSchemaVersion=157] ["start time"=291.772ยตs] [gotSchemaVersion=157] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.908 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=157]
[2024/05/06 09:47:05.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=157] ["take time"=8.73308ms] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.916 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.924 +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 09:47:05.925 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="add index"]
[2024/05/06 09:47:05.925 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.928 +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 09:47:05.928 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135]
[2024/05/06 09:47:05.929 +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 09:47:05.834 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.929 +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 09:47:05.932 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=135]
[2024/05/06 09:47:05.932 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:05.932 +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 09:47:05.932 +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 09:47:05.934 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:05.934 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:05.941 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.941 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.941 +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 09:47:05.933 +0000 UTC, Err:<nil>, 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 09:47:05.941 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:05.942 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.944 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=157] [neededSchemaVersion=158] ["start time"=329.423ยตs] [gotSchemaVersion=158] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=158]
[2024/05/06 09:47:05.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=158] ["take time"=2.933986ms] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.947 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.953 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.954 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=158] [neededSchemaVersion=159] ["start time"=320.822ยตs] [gotSchemaVersion=159] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.958 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=159]
[2024/05/06 09:47:05.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=159] ["take time"=2.781997ms] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.959 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.965 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.971 +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:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.972 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.973 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574030793768960, conflictStartTS=449574030794031104, conflictCommitTS=449574030795341824, 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 09:47:05.973 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574030793768960, conflictStartTS=449574030794031104, conflictCommitTS=449574030795341824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:05.973 +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=449574030793768960, conflictStartTS=449574030794031104, conflictCommitTS=449574030795341824, 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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.980 +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 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.980 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.986 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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 09:47:05.933 +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 09:47:05.986 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:05.990 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=159] [neededSchemaVersion=161] ["start time"=427.689ยตs] [gotSchemaVersion=161] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:05.991 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=161]
[2024/05/06 09:47:05.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=161] ["take time"=5.225899ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.001 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.007 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.007 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.008 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.010 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=161] [neededSchemaVersion=162] ["start time"=405.621ยตs] [gotSchemaVersion=162] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.012 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=162]
[2024/05/06 09:47:06.015 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=5.748234ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.017 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.023 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.023 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.024 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=162] [neededSchemaVersion=163] ["start time"=337.824ยตs] [gotSchemaVersion=163] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=163]
[2024/05/06 09:47:06.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=163] ["take time"=11.184601ms] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.038 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.048 +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 09:47:06.050 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=136] [jobType="add index"]
[2024/05/06 09:47:06.050 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.053 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=136]
[2024/05/06 09:47:06.053 +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 09:47:05.933 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.059 +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 09:47:06.059 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=136]
[2024/05/06 09:47:06.059 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:06.060 +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 09:47:06.060 +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 09:47:06.075 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:06.076 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:06.076 +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 09:47:06.086 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.087 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.087 +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 09:47:06.061 +0000 UTC, Err:<nil>, 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 09:47:06.087 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:06.092 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.095 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=163] [neededSchemaVersion=164] ["start time"=398.294ยตs] [gotSchemaVersion=164] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.096 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=164]
[2024/05/06 09:47:06.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=164] ["take time"=2.021637ms] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.098 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.106 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.106 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.107 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.109 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=164] [neededSchemaVersion=165] ["start time"=367.554ยตs] [gotSchemaVersion=165] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.110 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=165]
[2024/05/06 09:47:06.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=165] ["take time"=2.128933ms] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.112 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.121 +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 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.121 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.122 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:06.061 +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 09:47:06.122 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=165] [neededSchemaVersion=166] ["start time"=375.468ยตs] [gotSchemaVersion=166] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.126 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=166]
[2024/05/06 09:47:06.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=166] ["take time"=6.074661ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.131 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.141 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.141 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.142 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.144 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=166] [neededSchemaVersion=167] ["start time"=413.214ยตs] [gotSchemaVersion=167] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.146 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=167]
[2024/05/06 09:47:06.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=167] ["take time"=4.23262ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.149 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.156 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.156 +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 reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.157 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.160 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=167] [neededSchemaVersion=168] ["start time"=483.217ยตs] [gotSchemaVersion=168] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.161 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=168]
[2024/05/06 09:47:06.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=168] ["take time"=2.029188ms] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.162 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.169 +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 09:47:06.176 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="add index"]
[2024/05/06 09:47:06.177 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.181 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=137]
[2024/05/06 09:47:06.181 +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 09:47:06.061 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.185 +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 09:47:06.186 +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 09:47:06.189 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=137]
[2024/05/06 09:47:06.189 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:06.189 +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 09:47:06.203 +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 09:47:06.206 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:06.206 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:06.215 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.215 +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 09:47:06.204 +0000 UTC, Err:<nil>, 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 09:47:06.215 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:06.216 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.218 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=168] [neededSchemaVersion=169] ["start time"=379.261ยตs] [gotSchemaVersion=169] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=169]
[2024/05/06 09:47:06.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=169] ["take time"=2.032615ms] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.220 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.227 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.227 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.229 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=169] [neededSchemaVersion=170] ["start time"=445.569ยตs] [gotSchemaVersion=170] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.235 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=170]
[2024/05/06 09:47:06.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=170] ["take time"=28.720928ms] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.269 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.275 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.276 +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:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.277 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.279 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=170] [neededSchemaVersion=171] ["start time"=388.669ยตs] [gotSchemaVersion=171] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.281 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=171]
[2024/05/06 09:47:06.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=171] ["take time"=4.277774ms] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.285 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.289 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.291 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.291 +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 09:47:06.292 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=138] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:06.295 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030879490048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.296 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574030878703616, conflictStartTS=449574030878703618, conflictCommitTS=449574030879227904, 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 09:47:06.296 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574030878703616, conflictStartTS=449574030878703618, conflictCommitTS=449574030879227904, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:06.296 +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=449574030878703616, conflictStartTS=449574030878703618, conflictCommitTS=449574030879227904, 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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030879490048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.303 +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 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.303 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.304 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, 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 09:47:06.204 +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 09:47:06.304 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.306 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=171] [neededSchemaVersion=172] ["start time"=380.987ยตs] [gotSchemaVersion=172] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.307 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=172]
[2024/05/06 09:47:06.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=172] ["take time"=3.440635ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.310 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.317 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.317 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.318 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.327 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=172] [neededSchemaVersion=173] ["start time"=469.226ยตs] [gotSchemaVersion=173] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.329 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=173]
[2024/05/06 09:47:06.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=173] ["take time"=19.642383ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.340 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.353 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.353 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.355 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.358 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=173] [neededSchemaVersion=174] ["start time"=435.696ยตs] [gotSchemaVersion=174] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=174]
[2024/05/06 09:47:06.371 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=13.708587ms] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.372 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.392 +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 09:47:06.393 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="add index"]
[2024/05/06 09:47:06.394 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.403 +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 09:47:06.405 +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 09:47:06.405 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=138]
[2024/05/06 09:47:06.406 +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 09:47:06.204 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.410 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=138]
[2024/05/06 09:47:06.410 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:06.410 +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 09:47:06.410 +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 09:47:06.415 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:06.415 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:06.424 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.424 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.425 +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 09:47:06.411 +0000 UTC, Err:<nil>, 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 09:47:06.425 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:06.431 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.436 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=174] [neededSchemaVersion=175] ["start time"=407.766ยตs] [gotSchemaVersion=175] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.437 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=175]
[2024/05/06 09:47:06.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=175] ["take time"=2.064948ms] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.439 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.447 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.447 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.448 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.497 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=175] [neededSchemaVersion=176] ["start time"=622.504ยตs] [gotSchemaVersion=176] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.499 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=176]
[2024/05/06 09:47: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=176] ["take time"=4.19208ms] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.501 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.509 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.509 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.511 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.516 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=176] [neededSchemaVersion=177] ["start time"=561.531ยตs] [gotSchemaVersion=177] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.517 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=177]
[2024/05/06 09:47:06.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=177] ["take time"=9.66041ms] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.526 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.582 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.582 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.582 +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 09:47:06.583 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=139] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:06.595 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.598 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.599 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.619 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.619 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.619 +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 09:47:06.621 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:17,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:06.622 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:06.622 +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 09:47:06.622 +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 09:47:06.635 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:06.635 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.636 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.636 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.644 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.644 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.644 +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 09:47:06.664 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:06.664 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.665 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.665 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.673 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.673 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.674 +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 09:47:06.694 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:06.694 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.695 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.696 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.703 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.703 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.704 +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 09:47:06.719 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:06.719 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.720 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.720 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.737 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.737 +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 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.738 +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 09:47:06.847 +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: 139"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=120.625782ms]
[2024/05/06 09:47:06.847 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=139]
[2024/05/06 09:47:06.847 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:17,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001]
[2024/05/06 09:47:06.848 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=768]
[2024/05/06 09:47:06.857 +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:768, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.858 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.859 +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:768, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.881 +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:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.881 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.881 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 7, 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:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.881 +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 09:47:06.881 +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 09:47:06.883 +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:768, ArgLen:6, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:06.886 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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:768, ArgLen:3, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, 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 09:47:06.886 +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:768, ArgLen:3, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=177] [neededSchemaVersion=178] ["start time"=416.48ยตs] [gotSchemaVersion=178] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=178]
[2024/05/06 09:47:06.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=178] ["take time"=5.226686ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:768, ArgLen:3, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.894 +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:768, ArgLen:3, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.902 +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:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.902 +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:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.902 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=178] [neededSchemaVersion=179] ["start time"=373.171ยตs] [gotSchemaVersion=179] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=179]
[2024/05/06 09:47:06.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=179] ["take time"=2.028241ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.907 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.924 +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:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.924 +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:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:768, ArgLen:0, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.925 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.930 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=179] [neededSchemaVersion=180] ["start time"=376.722ยตs] [gotSchemaVersion=180] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:06.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=180]
[2024/05/06 09:47:06.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=180] ["take time"=2.277109ms] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.932 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.953 +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 09:47:06.961 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="add index"]
[2024/05/06 09:47:06.961 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.964 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.964 +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:768, ArgLen:2, start time: 2024-05-06 09:47:06.411 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574030955511810, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.967 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=139]
[2024/05/06 09:47:06.967 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:06.967 +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 09:47:06.968 +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 09:47:06.974 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:06.974 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"]
[2024/05/06 09:47:06.984 +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 09:47:06.986 +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 09:47:06.991 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.991 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.992 +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 09:47:06.969 +0000 UTC, Err:<nil>, 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 09:47:06.993 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:06.995 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:06.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=180] [neededSchemaVersion=181] ["start time"=442.787ยตs] [gotSchemaVersion=181] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=181]
[2024/05/06 09:47:07.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=181] ["take time"=11.577284ms] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.010 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.022 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.022 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.026 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=181] [neededSchemaVersion=182] ["start time"=424.011ยตs] [gotSchemaVersion=182] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=182]
[2024/05/06 09:47:07.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=5.258057ms] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.036 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.057 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.058 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.058 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=182] [neededSchemaVersion=183] ["start time"=445.879ยตs] [gotSchemaVersion=183] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.069 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=183]
[2024/05/06 09:47:07.071 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=4.076855ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.072 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.080 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.097 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.097 +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 09:47:07.098 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:07.100 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.101 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.109 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.109 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.109 +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 09:47:07.111 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:07.112 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:07.112 +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 09:47:07.113 +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 09:47:07.127 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:07.128 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.128 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.129 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.137 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.137 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.137 +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 09:47:07.164 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:07.164 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.165 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.165 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.173 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.173 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.174 +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 09:47:07.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 09:47:07.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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.214 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.222 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.222 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.223 +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 09:47:07.308 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=992]
[2024/05/06 09:47:07.308 +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:992, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.309 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.310 +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:992, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.313 +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"=99.995932ms]
[2024/05/06 09:47:07.313 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=140]
[2024/05/06 09:47:07.313 +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 09:47:07.319 +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:992, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.319 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:992, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.319 +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 09:47:07.321 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:07.464 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.466 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=183] [neededSchemaVersion=184] ["start time"=418.957ยตs] [gotSchemaVersion=184] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.467 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=184]
[2024/05/06 09:47:07.467 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=2.0267ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.468 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.475 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.475 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031090515968, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.475 +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 09:47:07.476 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=184] [neededSchemaVersion=185] ["start time"=370.513ยตs] [gotSchemaVersion=185] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=185]
[2024/05/06 09:47:07.479 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=2.035056ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.480 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.488 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.489 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.489 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000012ff]
[2024/05/06 09:47:07.491 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.492 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.493 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.501 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.501 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.503 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f69ffff000000000012,EndKey:74800000000000006f5f69ffff000000000012ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:07.504 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000012] ["end key"=74800000000000006f5f69ffff000000000012ff]
[2024/05/06 09:47:07.504 +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 09:47:07.504 +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 09:47:07.606 +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"=183.802ยตs]
[2024/05/06 09:47:07.606 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=140]
[2024/05/06 09:47:07.606 +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 09:47:07.645 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:07.647 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.648 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.649 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.656 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.656 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.658 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:07.705 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:07.705 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.708 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=185] [neededSchemaVersion=186] ["start time"=378.408ยตs] [gotSchemaVersion=186] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.709 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=186]
[2024/05/06 09:47:07.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=186] ["take time"=2.04423ms] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.710 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.734 +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 09:47:07.735 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="add index"]
[2024/05/06 09:47:07.736 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.740 +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 09:47:06.969 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031193276416, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.744 +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 09:47:07.745 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=140]
[2024/05/06 09:47:07.745 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:07.746 +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 09:47:07.748 +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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:07.749 +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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"]
[2024/05/06 09:47:07.756 +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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.760 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, 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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.761 +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 09:47:07.747 +0000 UTC, Err:<nil>, 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 09:47:07.761 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:07.761 +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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.763 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031263268865, conflictStartTS=449574031263268866, conflictCommitTS=449574031263793152, 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 09:47:07.763 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031263268865, conflictStartTS=449574031263268866, conflictCommitTS=449574031263793152, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:07.763 +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=449574031263268865, conflictStartTS=449574031263268866, conflictCommitTS=449574031263793152, 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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.770 +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 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.771 +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:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.747 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.771 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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 09:47:07.747 +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 09:47:07.771 +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 09:47:07.747 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.772 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:07.747 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.774 +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 09:47:07.747 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.775 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=141]
[2024/05/06 09:47:07.775 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:07.776 +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 09:47:07.776 +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 09:47:07.778 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:07.779 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"]
[2024/05/06 09:47:07.794 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.794 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.795 +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 09:47:07.777 +0000 UTC, Err:<nil>, 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 09:47:07.795 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:07.798 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.800 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=186] [neededSchemaVersion=188] ["start time"=457.81ยตs] [gotSchemaVersion=188] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.801 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=188]
[2024/05/06 09:47:07.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=188] ["take time"=6.382307ms] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.810 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.818 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.821 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.827 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.828 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031279521792, conflictStartTS=449574031279783936, conflictCommitTS=449574031280046080, 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 09:47:07.828 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031279521792, conflictStartTS=449574031279783936, conflictCommitTS=449574031280046080, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:07.828 +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=449574031279521792, conflictStartTS=449574031279783936, conflictCommitTS=449574031280046080, 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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.838 +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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.838 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:07.777 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.839 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:07.777 +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 09:47:07.839 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.840 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142]
[2024/05/06 09:47:07.841 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.868 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.868 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.869 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.872 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=188] [neededSchemaVersion=190] ["start time"=428.665ยตs] [gotSchemaVersion=190] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.873 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=190]
[2024/05/06 09:47:07.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=190] ["take time"=10.355525ms] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.892 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.903 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.903 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.910 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.914 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=190] [neededSchemaVersion=191] ["start time"=441.474ยตs] [gotSchemaVersion=191] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.916 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=191]
[2024/05/06 09:47:07.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=191] ["take time"=8.817526ms] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.924 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.935 +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 09:47:07.936 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="add index"]
[2024/05/06 09:47:07.937 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.942 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142]
[2024/05/06 09:47:07.943 +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 09:47:07.945 +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 09:47:07.948 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=142]
[2024/05/06 09:47:07.948 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:07.948 +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 09:47:07.952 +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 09:47:07.777 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.952 +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 09:47:07.955 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:07.955 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"]
[2024/05/06 09:47:07.966 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.966 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.966 +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 09:47:07.953 +0000 UTC, Err:<nil>, 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 09:47:07.966 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:07.978 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.980 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=191] [neededSchemaVersion=192] ["start time"=452.149ยตs] [gotSchemaVersion=192] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:07.981 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=192]
[2024/05/06 09:47:07.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=192] ["take time"=9.651402ms] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:07.991 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.002 +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 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.002 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.003 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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 09:47:07.953 +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 09:47:08.003 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.004 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143]
[2024/05/06 09:47:08.005 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.012 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.012 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.022 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.024 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=192] [neededSchemaVersion=193] ["start time"=420.108ยตs] [gotSchemaVersion=193] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.026 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=193]
[2024/05/06 09:47:08.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=193] ["take time"=8.91082ms] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.045 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.053 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.053 +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 reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.054 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.057 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=193] [neededSchemaVersion=194] ["start time"=437.122ยตs] [gotSchemaVersion=194] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.059 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=194]
[2024/05/06 09:47: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=194] ["take time"=5.281981ms] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.065 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.073 +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 09:47:08.074 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="add index"]
[2024/05/06 09:47:08.075 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.079 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143]
[2024/05/06 09:47:08.079 +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 09:47:07.953 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.085 +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 09:47:08.086 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=143]
[2024/05/06 09:47:08.086 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:08.086 +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 09:47:08.087 +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 09:47:08.087 +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 09:47:08.101 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:08.101 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"]
[2024/05/06 09:47:08.117 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.117 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.118 +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 09:47:08.088 +0000 UTC, Err:<nil>, 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 09:47:08.118 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:08.118 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.121 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=194] [neededSchemaVersion=195] ["start time"=449.571ยตs] [gotSchemaVersion=195] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.123 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=195]
[2024/05/06 09:47:08.125 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=4.43711ms] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.126 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.134 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.135 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=195] [neededSchemaVersion=196] ["start time"=451.005ยตs] [gotSchemaVersion=196] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=196]
[2024/05/06 09:47:08.139 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=2.23672ms] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.140 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.149 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.152 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.156 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.158 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031366291456, conflictStartTS=449574031366291457, conflictCommitTS=449574031366815744, 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 09:47:08.158 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031366291456, conflictStartTS=449574031366291457, conflictCommitTS=449574031366815744, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:08.158 +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=449574031366291456, conflictStartTS=449574031366291457, conflictCommitTS=449574031366815744, 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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.167 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.167 +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 09:47:08.088 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.167 +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 09:47:08.088 +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 09:47:08.168 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=196] [neededSchemaVersion=198] ["start time"=489.121ยตs] [gotSchemaVersion=198] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=198]
[2024/05/06 09:47:08.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=198] ["take time"=4.415568ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.175 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.185 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.185 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.186 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.189 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=198] [neededSchemaVersion=199] ["start time"=471.736ยตs] [gotSchemaVersion=199] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.190 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=199]
[2024/05/06 09:47:08.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=199] ["take time"=8.747782ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.202 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.209 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.209 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.211 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.214 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=199] [neededSchemaVersion=200] ["start time"=416.217ยตs] [gotSchemaVersion=200] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.216 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=200]
[2024/05/06 09:47:08.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=200] ["take time"=7.11631ms] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.222 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.229 +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 09:47:08.230 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="add index"]
[2024/05/06 09:47:08.231 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.235 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=144]
[2024/05/06 09:47:08.235 +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 09:47:08.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.237 +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 09:47:08.239 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=144]
[2024/05/06 09:47:08.239 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:08.239 +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 09:47:08.239 +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 09:47:08.240 +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 09:47:08.242 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:08.242 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"]
[2024/05/06 09:47:08.266 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.266 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.266 +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 09:47:08.24 +0000 UTC, Err:<nil>, 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 09:47:08.267 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:08.267 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.269 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=200] [neededSchemaVersion=201] ["start time"=430.627ยตs] [gotSchemaVersion=201] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.271 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=201]
[2024/05/06 09:47:08.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=201] ["take time"=2.094113ms] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.272 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.286 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.286 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.293 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.302 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=201] [neededSchemaVersion=202] ["start time"=432.605ยตs] [gotSchemaVersion=202] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.303 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=202]
[2024/05/06 09:47:08.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=202] ["take time"=21.782073ms] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.324 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.334 +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 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.334 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.335 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:08.24 +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 09:47:08.336 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=202] [neededSchemaVersion=203] ["start time"=445.46ยตs] [gotSchemaVersion=203] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=203]
[2024/05/06 09:47: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=203] ["take time"=15.430705ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.354 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.363 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.363 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.364 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.366 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=203] [neededSchemaVersion=204] ["start time"=396.727ยตs] [gotSchemaVersion=204] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.367 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=204]
[2024/05/06 09:47:08.367 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=204] ["take time"=2.041144ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.368 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.375 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.376 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.377 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.382 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=204] [neededSchemaVersion=205] ["start time"=402.661ยตs] [gotSchemaVersion=205] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.387 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=205]
[2024/05/06 09:47:08.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=205] ["take time"=9.072515ms] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.392 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.399 +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 09:47:08.401 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=145] [jobType="add index"]
[2024/05/06 09:47:08.402 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.404 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=145]
[2024/05/06 09:47:08.405 +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 09:47:08.24 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.406 +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 09:47:08.408 +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 09:47:08.410 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=145]
[2024/05/06 09:47:08.410 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:08.410 +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 09:47:08.410 +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 09:47:08.413 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:08.413 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_cx2(c2)"]
[2024/05/06 09:47:08.421 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.421 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.422 +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 09:47:08.412 +0000 UTC, Err:<nil>, 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 09:47:08.422 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:08.423 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.425 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=205] [neededSchemaVersion=206] ["start time"=426.197ยตs] [gotSchemaVersion=206] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.427 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=206]
[2024/05/06 09:47:08.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=206] ["take time"=11.533719ms] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.437 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.447 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.447 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.448 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=206] [neededSchemaVersion=207] ["start time"=386.068ยตs] [gotSchemaVersion=207] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=207]
[2024/05/06 09:47:08.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=207] ["take time"=11.42188ms] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.477 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.490 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.490 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.491 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.497 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=207] [neededSchemaVersion=208] ["start time"=451.233ยตs] [gotSchemaVersion=208] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.499 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=208]
[2024/05/06 09:47:08.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=208] ["take time"=7.555053ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.505 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.523 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.523 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.524 +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 09:47:08.525 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:08.527 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.528 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.529 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.551 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.551 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.551 +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 09:47:08.553 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:08.554 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:08.554 +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 09:47:08.554 +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 09:47:08.566 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:08.566 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.567 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.568 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.575 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.575 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.575 +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 09:47:08.591 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:08.592 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.594 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.594 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.607 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.607 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.607 +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 09:47:08.619 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:08.620 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.620 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.621 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.629 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.629 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.629 +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 09:47:08.644 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:08.644 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.645 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.645 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.653 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.653 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.654 +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 09:47:08.768 +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"=113.579119ms]
[2024/05/06 09:47:08.768 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=146]
[2024/05/06 09:47:08.769 +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 09:47:08.771 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=320]
[2024/05/06 09:47:08.771 +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:320, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.784 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:08.785 +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:320, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.794 +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:320, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.794 +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:320, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.794 +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 09:47:08.797 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:08.947 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.962 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=208] [neededSchemaVersion=209] ["start time"=516.002ยตs] [gotSchemaVersion=209] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.964 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=209]
[2024/05/06 09:47:08.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=209] ["take time"=16.23433ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.969 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.978 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.978 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031464595456, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.979 +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 09:47:08.987 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:08.992 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=209] [neededSchemaVersion=210] ["start time"=507.913ยตs] [gotSchemaVersion=210] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:08.993 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=210]
[2024/05/06 09:47:08.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=210] ["take time"=5.50852ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.005 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.012 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.012 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.013 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000017ff]
[2024/05/06 09:47:09.018 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.021 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:09.022 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.028 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.028 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.030 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f69ffff000000000017,EndKey:74800000000000006f5f69ffff000000000017ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:09.031 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000017] ["end key"=74800000000000006f5f69ffff000000000017ff]
[2024/05/06 09:47:09.031 +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 09:47:09.032 +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 09:47:09.114 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:09.114 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.127 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146]
[2024/05/06 09:47:09.129 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.138 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.138 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.141 +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"=176.075ยตs]
[2024/05/06 09:47:09.141 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=146]
[2024/05/06 09:47:09.141 +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 09:47:09.141 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:09.217 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:09.217 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.220 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=210] [neededSchemaVersion=211] ["start time"=467.931ยตs] [gotSchemaVersion=211] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:09.221 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=211]
[2024/05/06 09:47:09.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=211] ["take time"=5.1121ms] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.227 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.241 +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 09:47:09.247 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="add index"]
[2024/05/06 09:47:09.248 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.255 +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 09:47:09.280 +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 09:47:08.412 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574031592783872, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:09.283 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=146]
[2024/05/06 09:47:09.283 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:09.284 +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 09:47:09.287 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.287 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.300 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.304 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.304 +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 09:47:09.285 +0000 UTC, Err:<nil>, 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 09:47:09.307 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.308 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031668019200, conflictStartTS=449574031668281345, conflictCommitTS=449574031668543488, 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 09:47:09.308 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031668019200, conflictStartTS=449574031668281345, conflictCommitTS=449574031668543488, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:09.308 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031668019200, conflictStartTS=449574031668281345, conflictCommitTS=449574031668543488, 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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.314 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.314 +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 09:47:09.285 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.314 +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 09:47:09.285 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.314 +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 09:47:09.285 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.315 +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 09:47:09.285 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.318 +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 09:47:09.285 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.319 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=147]
[2024/05/06 09:47:09.320 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:09.320 +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 09:47:09.320 +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 09:47:09.329 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.329 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.337 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.337 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.338 +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 09:47:09.321 +0000 UTC, Err:<nil>, 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 09:47:09.338 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=211] [neededSchemaVersion=213] ["start time"=470.921ยตs] [gotSchemaVersion=213] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.343 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=213]
[2024/05/06 09:47:09.344 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=4.017049ms] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.349 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.355 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.358 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.359 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.361 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031682437120, conflictStartTS=449574031682699264, conflictCommitTS=449574031682961408, 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 09:47:09.361 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031682437120, conflictStartTS=449574031682699264, conflictCommitTS=449574031682961408, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:09.361 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031682437120, conflictStartTS=449574031682699264, conflictCommitTS=449574031682961408, 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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.367 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.367 +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 09:47:09.321 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.367 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.367 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.369 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148]
[2024/05/06 09:47:09.369 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.381 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.381 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.382 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.384 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=213] [neededSchemaVersion=215] ["start time"=467.284ยตs] [gotSchemaVersion=215] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=215]
[2024/05/06 09:47:09.388 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=4.073496ms] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.389 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.394 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.394 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.395 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.397 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=215] [neededSchemaVersion=216] ["start time"=477.473ยตs] [gotSchemaVersion=216] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.399 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=216]
[2024/05/06 09:47:09.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=7.573318ms] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.405 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.412 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.425 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148]
[2024/05/06 09:47:09.426 +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 09:47:09.321 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.429 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=148]
[2024/05/06 09:47:09.429 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:09.429 +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 09:47:09.430 +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 09:47:09.433 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.433 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.443 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.443 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.444 +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 09:47:09.432 +0000 UTC, Err:<nil>, 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 09:47:09.446 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=216] [neededSchemaVersion=217] ["start time"=475.779ยตs] [gotSchemaVersion=217] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=217]
[2024/05/06 09:47: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=217] ["take time"=8.624085ms] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.459 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.468 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.468 +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 09:47:09.432 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.469 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.469 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.470 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149]
[2024/05/06 09:47:09.470 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.478 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.478 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.485 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.488 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=217] [neededSchemaVersion=218] ["start time"=552.661ยตs] [gotSchemaVersion=218] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=218]
[2024/05/06 09:47:09.492 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=4.153716ms] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.493 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.499 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.499 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.500 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=218] [neededSchemaVersion=219] ["start time"=430.795ยตs] [gotSchemaVersion=219] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=219]
[2024/05/06 09:47:09.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=219] ["take time"=3.013293ms] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.506 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.516 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.518 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149]
[2024/05/06 09:47:09.519 +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 09:47:09.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.522 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=149]
[2024/05/06 09:47:09.522 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:09.522 +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 09:47:09.522 +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 09:47:09.526 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.526 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.536 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.536 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.536 +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 09:47:09.524 +0000 UTC, Err:<nil>, 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 09:47:09.537 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=219] [neededSchemaVersion=220] ["start time"=465.98ยตs] [gotSchemaVersion=220] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.543 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=220]
[2024/05/06 09:47:09.544 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=2.193729ms] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.545 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.549 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.549 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.550 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.552 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=220] [neededSchemaVersion=221] ["start time"=470.178ยตs] [gotSchemaVersion=221] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.554 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=221]
[2024/05/06 09:47:09.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=221] ["take time"=4.264482ms] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.567 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.574 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.576 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.577 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.578 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031739846656, conflictStartTS=449574031739846657, conflictCommitTS=449574031740108800, 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 09:47:09.578 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031739846656, conflictStartTS=449574031739846657, conflictCommitTS=449574031740108800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:09.578 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031739846656, conflictStartTS=449574031739846657, conflictCommitTS=449574031740108800, 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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.584 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.584 +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 09:47:09.524 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.585 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.585 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.585 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=221] [neededSchemaVersion=222] ["start time"=44.768ยตs] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:09.591 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=221] [neededSchemaVersion=223] ["start time"=451.811ยตs] [gotSchemaVersion=223] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.592 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=223]
[2024/05/06 09:47:09.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=223] ["take time"=5.916227ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.593 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.597 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.598 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.598 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.600 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=223] [neededSchemaVersion=224] ["start time"=379.268ยตs] [gotSchemaVersion=224] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.602 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=224]
[2024/05/06 09:47:09.603 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=3.055752ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.605 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.611 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.611 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.612 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.616 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=224] [neededSchemaVersion=225] ["start time"=434.869ยตs] [gotSchemaVersion=225] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.617 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=225]
[2024/05/06 09:47:09.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=225] ["take time"=6.57037ms] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.623 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.628 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.636 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=150]
[2024/05/06 09:47:09.637 +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 09:47:09.524 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.637 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=150]
[2024/05/06 09:47:09.637 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:09.638 +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 09:47:09.638 +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 09:47:09.642 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.642 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.672 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.672 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.673 +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 09:47:09.639 +0000 UTC, Err:<nil>, 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 09:47:09.677 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.679 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=225] [neededSchemaVersion=226] ["start time"=420.262ยตs] [gotSchemaVersion=226] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=226]
[2024/05/06 09:47: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=226] ["take time"=2.836174ms] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.686 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.700 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.700 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.707 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=226] [neededSchemaVersion=227] ["start time"=480.608ยตs] [gotSchemaVersion=227] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.713 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=227]
[2024/05/06 09:47:09.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=227] ["take time"=4.255474ms] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.720 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.734 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.734 +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 09:47:09.639 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.735 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.735 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.737 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=227] [neededSchemaVersion=228] ["start time"=474.349ยตs] [gotSchemaVersion=228] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.740 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=228]
[2024/05/06 09:47:09.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=228] ["take time"=4.152537ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.742 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.762 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.762 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.763 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.765 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=228] [neededSchemaVersion=229] ["start time"=467.769ยตs] [gotSchemaVersion=229] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=229]
[2024/05/06 09:47:09.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=7.41213ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.774 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.780 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.780 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.781 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=229] [neededSchemaVersion=230] ["start time"=423.166ยตs] [gotSchemaVersion=230] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.786 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=230]
[2024/05/06 09:47:09.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=230] ["take time"=4.59956ms] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.789 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.809 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.813 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=151]
[2024/05/06 09:47:09.813 +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 09:47:09.639 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.816 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=151]
[2024/05/06 09:47:09.816 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:09.817 +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 09:47:09.817 +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 09:47:09.823 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:09.823 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:09.835 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.835 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.836 +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 09:47:09.818 +0000 UTC, Err:<nil>, 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 09:47:09.837 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=230] [neededSchemaVersion=231] ["start time"=431.221ยตs] [gotSchemaVersion=231] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.841 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=231]
[2024/05/06 09:47:09.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=231] ["take time"=2.25457ms] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.842 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.875 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.875 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.877 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.887 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=231] [neededSchemaVersion=232] ["start time"=487.544ยตs] [gotSchemaVersion=232] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=232]
[2024/05/06 09:47:09.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=232] ["take time"=4.258372ms] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.897 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.902 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.902 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.903 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=232] [neededSchemaVersion=233] ["start time"=435.165ยตs] [gotSchemaVersion=233] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.909 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=233]
[2024/05/06 09:47: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=233] ["take time"=7.069175ms] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.912 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.920 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.922 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.923 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.925 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031830548480, conflictStartTS=449574031830548481, conflictCommitTS=449574031831072768, 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 09:47:09.925 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031830548480, conflictStartTS=449574031830548481, conflictCommitTS=449574031831072768, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:09.925 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031830548480, conflictStartTS=449574031830548481, conflictCommitTS=449574031831072768, 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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.931 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.931 +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 09:47:09.818 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.936 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:09.936 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=233] [neededSchemaVersion=234] ["start time"=47.161ยตs] [gotSchemaVersion=233] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:09.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=233] [neededSchemaVersion=235] ["start time"=479.204ยตs] [gotSchemaVersion=235] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=235]
[2024/05/06 09:47:09.947 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=4.530871ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.948 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.953 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.953 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.955 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=235] [neededSchemaVersion=236] ["start time"=491.791ยตs] [gotSchemaVersion=236] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.959 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=236]
[2024/05/06 09:47:09.961 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=4.057667ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.962 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.970 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.970 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.971 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=236] [neededSchemaVersion=237] ["start time"=431.872ยตs] [gotSchemaVersion=237] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:09.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=237]
[2024/05/06 09:47:09.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=237] ["take time"=5.586758ms] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.982 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:09.993 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.001 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=152]
[2024/05/06 09:47:10.001 +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 09:47:09.818 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.004 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=152]
[2024/05/06 09:47:10.004 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:10.004 +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 09:47:10.005 +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 09:47:10.008 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.008 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:10.032 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.032 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.033 +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 09:47:10.007 +0000 UTC, Err:<nil>, 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 09:47:10.034 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=237] [neededSchemaVersion=238] ["start time"=481.423ยตs] [gotSchemaVersion=238] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=238]
[2024/05/06 09:47: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=238] ["take time"=6.592893ms] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.044 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.049 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.050 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.051 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.053 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=238] [neededSchemaVersion=239] ["start time"=471.718ยตs] [gotSchemaVersion=239] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=239]
[2024/05/06 09:47:10.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=239] ["take time"=4.015403ms] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.058 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.064 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.064 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.067 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.070 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=239] [neededSchemaVersion=240] ["start time"=469.996ยตs] [gotSchemaVersion=240] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.072 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=240]
[2024/05/06 09:47:10.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=240] ["take time"=7.098955ms] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.078 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.108 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.108 +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 09:47:10.007 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.109 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:10.109 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.111 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=240] [neededSchemaVersion=241] ["start time"=397.402ยตs] [gotSchemaVersion=241] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.113 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=241]
[2024/05/06 09:47:10.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=4.105406ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.116 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.123 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.123 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.124 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=241] [neededSchemaVersion=242] ["start time"=424.408ยตs] [gotSchemaVersion=242] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.128 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=242]
[2024/05/06 09:47:10.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=242] ["take time"=5.174ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.139 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.151 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.151 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.152 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.155 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=242] [neededSchemaVersion=243] ["start time"=439.291ยตs] [gotSchemaVersion=243] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=243]
[2024/05/06 09:47:10.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=243] ["take time"=4.611479ms] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.166 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.173 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.182 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=153]
[2024/05/06 09:47:10.183 +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 09:47:10.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.183 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=153]
[2024/05/06 09:47:10.184 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:10.184 +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 09:47:10.184 +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 09:47:10.192 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.192 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"]
[2024/05/06 09:47:10.203 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.203 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.203 +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 09:47:10.191 +0000 UTC, Err:<nil>, 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 09:47:10.205 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=243] [neededSchemaVersion=244] ["start time"=502.716ยตs] [gotSchemaVersion=244] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=244]
[2024/05/06 09:47:10.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=244] ["take time"=8.731566ms] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.217 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.224 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.225 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.227 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.230 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=244] [neededSchemaVersion=245] ["start time"=417.54ยตs] [gotSchemaVersion=245] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=245]
[2024/05/06 09:47:10.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=245] ["take time"=4.460128ms] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.234 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.241 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.241 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.244 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=245] [neededSchemaVersion=246] ["start time"=461.823ยตs] [gotSchemaVersion=246] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.248 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=246]
[2024/05/06 09:47:10.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=4.387315ms] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.251 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.256 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.256 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.259 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.265 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=246] [neededSchemaVersion=247] ["start time"=524.43ยตs] [gotSchemaVersion=247] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:10.267 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=247]
[2024/05/06 09:47:10.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=247] ["take time"=9.141753ms] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.275 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.283 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.327 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=154]
[2024/05/06 09:47:10.327 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.327 +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 09:47:10.331 +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 09:47:10.191 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.358 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.358 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"]
[2024/05/06 09:47:10.367 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.370 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.371 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.389 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031947726848, conflictStartTS=449574031947726850, conflictCommitTS=449574031948251136, 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 09:47:10.389 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031947726848, conflictStartTS=449574031947726850, conflictCommitTS=449574031948251136, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:10.389 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031947726848, conflictStartTS=449574031947726850, conflictCommitTS=449574031948251136, 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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.397 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.397 +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 09:47:10.341 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.397 +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 09:47:10.341 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:10.397 +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 09:47:10.341 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.398 +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 09:47:10.341 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.401 +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 09:47:10.341 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.412 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=156]
[2024/05/06 09:47:10.412 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:10.412 +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 09:47:10.413 +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 09:47:10.416 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.416 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"]
[2024/05/06 09:47:10.458 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.458 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.461 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.469 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=247] [neededSchemaVersion=249] ["start time"=232.528ยตs] [gotSchemaVersion=249] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:10.481 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=158] [version=249]
[2024/05/06 09:47:10.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=249] ["take time"=14.300227ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.484 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.494 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.504 +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 09:47:10.415 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.507 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=158]
[2024/05/06 09:47:10.507 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.508 +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 09:47:10.511 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.511 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:10.518 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.521 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.522 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.523 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574031987310592, conflictStartTS=449574031987310593, conflictCommitTS=449574031987834880, 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 09:47:10.523 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574031987310592, conflictStartTS=449574031987310593, conflictCommitTS=449574031987834880, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:10.523 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574031987310592, conflictStartTS=449574031987310593, conflictCommitTS=449574031987834880, 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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.528 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.528 +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 09:47:10.509 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.528 +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 09:47:10.509 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:10.528 +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 09:47:10.509 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.529 +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 09:47:10.509 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.531 +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 09:47:10.509 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.532 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=159]
[2024/05/06 09:47:10.532 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:10.532 +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 09:47:10.532 +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 09:47:10.533 +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 09:47:10.535 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.535 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:10.546 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.546 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.547 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=249] [neededSchemaVersion=251] ["start time"=160.639ยตs] [gotSchemaVersion=251] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.553 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=251]
[2024/05/06 09:47:10.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=251] ["take time"=8.303803ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.560 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.580 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.581 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.582 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.583 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=251] [neededSchemaVersion=252] ["start time"=35.969ยตs] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.585 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=252]
[2024/05/06 09:47:10.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=252] ["take time"=2.297639ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.587 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.592 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.592 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.593 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.595 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=252] [neededSchemaVersion=253] ["start time"=56.01ยตs] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.596 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=253]
[2024/05/06 09:47:10.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=253] ["take time"=13.385331ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.619 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.632 +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 09:47:10.633 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"]
[2024/05/06 09:47:10.634 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.636 +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 09:47:10.534 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.637 +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 09:47:10.639 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=160]
[2024/05/06 09:47:10.639 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.639 +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 09:47:10.643 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.643 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"]
[2024/05/06 09:47:10.653 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.653 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.654 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.656 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=253] [neededSchemaVersion=254] ["start time"=182.34ยตs] [gotSchemaVersion=254] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:10.658 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=162] [version=254]
[2024/05/06 09:47:10.664 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=8.136496ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.665 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.681 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.684 +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 09:47:10.641 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.687 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=162]
[2024/05/06 09:47:10.687 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.687 +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 09:47:10.697 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.697 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:10.706 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.706 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.709 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.711 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=254] [neededSchemaVersion=255] ["start time"=105.095ยตs] [gotSchemaVersion=255] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.712 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=255]
[2024/05/06 09:47:10.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=255] ["take time"=5.43297ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.718 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.727 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.728 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.734 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=255] [neededSchemaVersion=256] ["start time"=69.715ยตs] [gotSchemaVersion=256] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.744 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=256]
[2024/05/06 09:47:10.749 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=6.471086ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.750 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.757 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.757 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.757 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=256] [neededSchemaVersion=257] ["start time"=62.753ยตs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.761 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=257]
[2024/05/06 09:47:10.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=257] ["take time"=2.359099ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.763 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.770 +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 09:47:10.774 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"]
[2024/05/06 09:47:10.775 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.780 +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 09:47:10.781 +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 09:47:10.688 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.785 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=163]
[2024/05/06 09:47:10.785 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.786 +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 09:47:10.793 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.793 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"]
[2024/05/06 09:47:10.803 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.803 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.805 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.807 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=257] [neededSchemaVersion=258] ["start time"=237.719ยตs] [gotSchemaVersion=258] [phyTblIDs="[164]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:10.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=165] [version=258]
[2024/05/06 09:47:10.810 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=3.213843ms] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.820 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.828 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.837 +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 09:47:10.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.838 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=165]
[2024/05/06 09:47:10.838 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.844 +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 09:47:10.846 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.846 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:10.853 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.853 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.854 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.856 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=258] [neededSchemaVersion=259] ["start time"=133.735ยตs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.857 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=259]
[2024/05/06 09:47:10.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=259] ["take time"=2.673895ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.864 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.870 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.870 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.872 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.874 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=259] [neededSchemaVersion=260] ["start time"=54.306ยตs] [gotSchemaVersion=260] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.875 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=260]
[2024/05/06 09:47:10.888 +00:00] [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"=14.69282ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.891 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.905 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.906 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.907 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.908 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=260] [neededSchemaVersion=261] ["start time"=61.357ยตs] [gotSchemaVersion=261] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:10.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=261]
[2024/05/06 09:47:10.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=261] ["take time"=3.137061ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.914 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.921 +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 09:47:10.922 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"]
[2024/05/06 09:47:10.922 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.938 +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 09:47:10.944 +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 09:47:10.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.950 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=166]
[2024/05/06 09:47:10.950 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.950 +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 09:47:10.954 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.954 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"]
[2024/05/06 09:47:10.963 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.963 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.965 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.967 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=261] [neededSchemaVersion=262] ["start time"=234.166ยตs] [gotSchemaVersion=262] [phyTblIDs="[167]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:10.968 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=168] [version=262]
[2024/05/06 09:47:10.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=262] ["take time"=3.207278ms] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.971 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.979 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.990 +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 09:47:10.953 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:10.990 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=168]
[2024/05/06 09:47:10.991 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:10.991 +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 09:47:10.997 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:10.997 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:11.006 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.006 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.007 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=262] [neededSchemaVersion=263] ["start time"=93.659ยตs] [gotSchemaVersion=263] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=263]
[2024/05/06 09:47:11.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=263] ["take time"=2.129817ms] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.012 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.019 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.019 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.019 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.021 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=263] [neededSchemaVersion=264] ["start time"=44.949ยตs] [gotSchemaVersion=264] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=264]
[2024/05/06 09:47:11.033 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=12.075386ms] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.044 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.051 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.051 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.052 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=264] [neededSchemaVersion=265] ["start time"=47.59ยตs] [gotSchemaVersion=265] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=265]
[2024/05/06 09:47:11.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=265] ["take time"=13.116453ms] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.068 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.073 +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 09:47:11.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=169] [jobType="drop table"]
[2024/05/06 09:47:11.075 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.088 +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 09:47:10.992 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.090 +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 09:47:11.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=169]
[2024/05/06 09:47:11.091 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.092 +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 09:47:11.095 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.095 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"]
[2024/05/06 09:47:11.107 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.107 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.108 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=265] [neededSchemaVersion=266] ["start time"=246.917ยตs] [gotSchemaVersion=266] [phyTblIDs="[170]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:11.112 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=171] [version=266]
[2024/05/06 09:47:11.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=5.427417ms] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.116 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.125 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.129 +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 09:47:11.093 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.130 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=171]
[2024/05/06 09:47:11.130 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.130 +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 09:47:11.149 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.149 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"]
[2024/05/06 09:47:11.157 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.157 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.159 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.164 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=266] [neededSchemaVersion=267] ["start time"=96.048ยตs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.166 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=267]
[2024/05/06 09:47:11.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=267] ["take time"=2.969439ms] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.169 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.174 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.174 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.174 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.176 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=267] [neededSchemaVersion=268] ["start time"=46.083ยตs] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=268]
[2024/05/06 09:47:11.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=268] ["take time"=2.636275ms] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.180 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.192 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.192 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.203 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.206 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=268] [neededSchemaVersion=269] ["start time"=58.633ยตs] [gotSchemaVersion=269] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:47:11.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=269]
[2024/05/06 09:47:11.217 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=10.867305ms] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.223 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.229 +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 09:47:11.233 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=172] [jobType="drop table"]
[2024/05/06 09:47:11.234 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.248 +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 09:47:11.132 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.249 +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 09:47:11.252 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=172]
[2024/05/06 09:47:11.252 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.252 +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 09:47:11.256 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.256 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"]
[2024/05/06 09:47:11.265 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.268 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.268 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.270 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574032183132160, conflictStartTS=449574032183394304, conflictCommitTS=449574032183656448, 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 09:47:11.270 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574032183132160, conflictStartTS=449574032183394304, conflictCommitTS=449574032183656448, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:11.270 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574032183132160, conflictStartTS=449574032183394304, conflictCommitTS=449574032183656448, 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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.275 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.275 +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 09:47:11.255 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.275 +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 09:47:11.255 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:11.275 +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 09:47:11.255 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.276 +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 09:47:11.255 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.279 +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 09:47:11.255 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.280 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=174]
[2024/05/06 09:47:11.280 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:11.280 +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 09:47:11.280 +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 09:47:11.286 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.286 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"]
[2024/05/06 09:47:11.295 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.295 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.296 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.298 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=269] [neededSchemaVersion=271] ["start time"=104.784ยตs] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:11.299 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=176] [version=271]
[2024/05/06 09:47:11.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=271] ["take time"=2.074576ms] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.300 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.308 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.312 +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 09:47:11.282 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.314 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=176]
[2024/05/06 09:47:11.314 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.315 +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 09:47:11.318 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.318 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:11.332 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.354 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.355 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.356 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574032200695808, conflictStartTS=449574032200695809, conflictCommitTS=449574032200957952, 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 09:47:11.356 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574032200695808, conflictStartTS=449574032200695809, conflictCommitTS=449574032200957952, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:11.356 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574032200695808, conflictStartTS=449574032200695809, conflictCommitTS=449574032200957952, 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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.365 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.365 +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 09:47:11.316 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.365 +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 09:47:11.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:11.365 +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 09:47:11.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.366 +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 09:47:11.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.370 +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 09:47:11.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.372 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=177]
[2024/05/06 09:47:11.372 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:11.373 +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 09:47:11.373 +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 09:47:11.373 +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 09:47:11.390 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.390 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:11.404 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.404 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.404 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.406 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=271] [neededSchemaVersion=273] ["start time"=147.176ยตs] [gotSchemaVersion=273] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=273]
[2024/05/06 09:47:11.410 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=4.209404ms] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.412 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.419 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.420 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.422 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=273] [neededSchemaVersion=274] ["start time"=38.597ยตs] [gotSchemaVersion=274] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=274]
[2024/05/06 09:47:11.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=274] ["take time"=4.188986ms] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.428 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.434 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.434 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.434 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.435 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=274] [neededSchemaVersion=275] ["start time"=22.762ยตs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.437 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=275]
[2024/05/06 09:47:11.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=275] ["take time"=2.007422ms] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.438 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.443 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop schema"]
[2024/05/06 09:47:11.443 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.448 +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 09:47:11.388 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.454 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=178]
[2024/05/06 09:47:11.454 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.455 +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 09:47:11.457 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.457 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"]
[2024/05/06 09:47:11.463 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.463 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.463 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.473 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=275] [neededSchemaVersion=276] ["start time"=78.918ยตs] [gotSchemaVersion=276] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:11.476 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=180] [version=276]
[2024/05/06 09:47:11.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=4.030508ms] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.484 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.494 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.504 +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 09:47:11.456 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.504 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=180]
[2024/05/06 09:47:11.505 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.505 +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 09:47:11.508 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.508 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:11.516 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.516 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.518 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=276] [neededSchemaVersion=277] ["start time"=128.49ยตs] [gotSchemaVersion=277] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=277]
[2024/05/06 09:47:11.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=13.492177ms] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.534 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.541 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.541 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.543 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=277] [neededSchemaVersion=278] ["start time"=33.846ยตs] [gotSchemaVersion=278] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.546 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=278]
[2024/05/06 09:47:11.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=278] ["take time"=2.332793ms] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.547 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.552 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.552 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.552 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=278] [neededSchemaVersion=279] ["start time"=31.04ยตs] [gotSchemaVersion=279] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=279]
[2024/05/06 09:47:11.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=279] ["take time"=2.771004ms] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.558 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.589 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop schema"]
[2024/05/06 09:47:11.589 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.594 +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 09:47:11.507 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.596 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=181]
[2024/05/06 09:47:11.596 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.597 +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 09:47:11.600 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.600 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"]
[2024/05/06 09:47:11.632 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.632 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.633 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.635 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=279] [neededSchemaVersion=280] ["start time"=73.205ยตs] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:11.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=183] [version=280]
[2024/05/06 09:47:11.636 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=2.117462ms] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.637 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.645 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.648 +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 09:47:11.598 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.648 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=183]
[2024/05/06 09:47:11.648 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.649 +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 09:47:11.666 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.666 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:11.685 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.685 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.694 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=280] [neededSchemaVersion=281] ["start time"=122.214ยตs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=281]
[2024/05/06 09:47:11.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=4.84717ms] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.705 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.725 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.725 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.728 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=281] [neededSchemaVersion=282] ["start time"=49.646ยตs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.732 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=282]
[2024/05/06 09:47:11.732 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=2.157213ms] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.733 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.754 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.756 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.758 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.764 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=282] [neededSchemaVersion=283] ["start time"=56.495ยตs] [gotSchemaVersion=283] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.766 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=283]
[2024/05/06 09:47:11.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=283] ["take time"=4.059408ms] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.775 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.781 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop schema"]
[2024/05/06 09:47:11.781 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.786 +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 09:47:11.65 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.789 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=184]
[2024/05/06 09:47:11.789 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.789 +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 09:47:11.795 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.795 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"]
[2024/05/06 09:47:11.803 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.803 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.807 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.813 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=283] [neededSchemaVersion=284] ["start time"=91.365ยตs] [gotSchemaVersion=284] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:11.814 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=186] [version=284]
[2024/05/06 09:47:11.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=284] ["take time"=26.213031ms] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.840 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.847 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.851 +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 09:47:11.794 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.853 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=186]
[2024/05/06 09:47:11.853 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.854 +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 09:47:11.861 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.861 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:11.874 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.874 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.875 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.877 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=284] [neededSchemaVersion=285] ["start time"=129.7ยตs] [gotSchemaVersion=285] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.880 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=285]
[2024/05/06 09:47:11.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=285] ["take time"=4.011577ms] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.882 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.894 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.894 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.899 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=285] [neededSchemaVersion=286] ["start time"=55.844ยตs] [gotSchemaVersion=286] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.907 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=286]
[2024/05/06 09:47:11.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=286] ["take time"=2.011232ms] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.910 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.917 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.917 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.920 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.922 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=286] [neededSchemaVersion=287] ["start time"=57.819ยตs] [gotSchemaVersion=287] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:11.924 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=287]
[2024/05/06 09:47:11.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=287] ["take time"=2.081816ms] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.925 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.931 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop schema"]
[2024/05/06 09:47:11.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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.936 +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 09:47:11.855 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.940 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=187]
[2024/05/06 09:47:11.940 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.940 +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 09:47:11.947 +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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.947 +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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"]
[2024/05/06 09:47:11.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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=287] [neededSchemaVersion=288] ["start time"=105.699ยตs] [gotSchemaVersion=288] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:11.963 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=189] [version=288]
[2024/05/06 09:47:11.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=288] ["take time"=5.688905ms] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.967 +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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.975 +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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.979 +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 09:47:11.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:11.981 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=189]
[2024/05/06 09:47:11.981 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:11.982 +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 09:47:11.987 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:11.987 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"]
[2024/05/06 09:47:12.001 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.001 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.002 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.003 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=288] [neededSchemaVersion=289] ["start time"=115.903ยตs] [gotSchemaVersion=289] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:12.005 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=289]
[2024/05/06 09:47:12.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=289] ["take time"=2.125593ms] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.006 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.017 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.017 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.018 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=289] [neededSchemaVersion=290] ["start time"=67.147ยตs] [gotSchemaVersion=290] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:12.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=290]
[2024/05/06 09:47: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=290] ["take time"=4.125177ms] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.025 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.031 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.031 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.035 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=290] [neededSchemaVersion=291] ["start time"=46.41ยตs] [gotSchemaVersion=291] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"]
[2024/05/06 09:47:12.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=291]
[2024/05/06 09:47:12.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=291] ["take time"=9.515721ms] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.050 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.063 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop schema"]
[2024/05/06 09:47:12.063 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.068 +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 09:47:11.983 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.071 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=190]
[2024/05/06 09:47:12.071 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.072 +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 09:47:12.076 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.076 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:12.095 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.098 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.098 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.100 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574032400711680, conflictStartTS=449574032400711681, conflictCommitTS=449574032401235968, 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 09:47:12.100 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574032400711680, conflictStartTS=449574032400711681, conflictCommitTS=449574032401235968, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:12.100 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574032400711680, conflictStartTS=449574032400711681, conflictCommitTS=449574032401235968, 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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.110 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.110 +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 09:47:12.074 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.110 +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 09:47:12.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:12.110 +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 09:47:12.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.111 +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 09:47:12.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.114 +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 09:47:12.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.115 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=191]
[2024/05/06 09:47:12.115 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:12.115 +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 09:47:12.115 +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 09:47:12.118 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.118 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:12.127 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.127 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.128 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.131 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=291] [neededSchemaVersion=293] ["start time"=481.954ยตs] [gotSchemaVersion=293] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.133 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=293]
[2024/05/06 09:47:12.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=293] ["take time"=4.750542ms] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.136 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.146 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.146 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.147 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.149 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=293] [neededSchemaVersion=294] ["start time"=472.483ยตs] [gotSchemaVersion=294] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.151 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=294]
[2024/05/06 09:47:12.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=4.215666ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.156 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.161 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.163 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.163 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.166 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=294] [neededSchemaVersion=295] ["start time"=415.878ยตs] [gotSchemaVersion=295] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=295]
[2024/05/06 09:47:12.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=295] ["take time"=2.053033ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.188 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.194 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.195 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.195 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.198 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=295] [neededSchemaVersion=296] ["start time"=408.709ยตs] [gotSchemaVersion=296] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.199 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=296]
[2024/05/06 09:47:12.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=296] ["take time"=9.624679ms] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.208 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.213 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=192] [jobType="drop column"]
[2024/05/06 09:47:12.214 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.222 +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 09:47:12.117 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.225 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=192]
[2024/05/06 09:47:12.225 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.226 +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 09:47:12.232 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.232 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:12.237 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.237 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.237 +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 09:47:12.227 +0000 UTC, Err:<nil>, 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 09:47:12.238 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=296] [neededSchemaVersion=297] ["start time"=418.091ยตs] [gotSchemaVersion=297] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.243 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=297]
[2024/05/06 09:47:12.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=297] ["take time"=4.17266ms] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.245 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.257 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.257 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.260 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=297] [neededSchemaVersion=298] ["start time"=424.493ยตs] [gotSchemaVersion=298] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.264 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=298]
[2024/05/06 09:47: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=298] ["take time"=9.412926ms] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.273 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.279 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.279 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.280 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.283 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=298] [neededSchemaVersion=299] ["start time"=592.595ยตs] [gotSchemaVersion=299] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=299]
[2024/05/06 09:47:12.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=299] ["take time"=6.129663ms] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.290 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.295 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.295 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.296 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.298 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=299] [neededSchemaVersion=300] ["start time"=446.249ยตs] [gotSchemaVersion=300] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.300 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=300]
[2024/05/06 09:47:12.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=300] ["take time"=4.631208ms] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.304 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.311 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.317 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=193]
[2024/05/06 09:47:12.317 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.318 +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 09:47:12.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.319 +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 09:47:12.322 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.322 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:12.340 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.340 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.341 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.343 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=300] [neededSchemaVersion=301] ["start time"=916.538ยตs] [gotSchemaVersion=301] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.345 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=301]
[2024/05/06 09:47:12.347 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=4.397292ms] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.348 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.360 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.360 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.371 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=301] [neededSchemaVersion=302] ["start time"=423.259ยตs] [gotSchemaVersion=302] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=302]
[2024/05/06 09:47:12.377 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=4.329692ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.385 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.396 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.396 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.405 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=302] [neededSchemaVersion=303] ["start time"=436.352ยตs] [gotSchemaVersion=303] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.409 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=303]
[2024/05/06 09:47:12.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=2.363237ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.410 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.415 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.416 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.420 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=303] [neededSchemaVersion=304] ["start time"=375.744ยตs] [gotSchemaVersion=304] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.424 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=304]
[2024/05/06 09:47:12.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=304] ["take time"=2.110583ms] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.425 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.434 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop column"]
[2024/05/06 09:47:12.434 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.444 +00:00] [INFO] [mvcc.go:1246] ["trying to commit with smaller commitTs than minCommitTs"] ["commit ts"=449574032490102784] ["min commit ts"=449574032490627073] [key=bURETEpvYkhp/3N0b3J5AAAA/AAAAAAAAABoAAAAAAAAAML/AAAAAAAAAAD3]
[2024/05/06 09:47:12.444 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=449574032489578496] [info="{StartTs:449574032489578496 AttemptedCommitTs:449574032490102784 Key:6d44444c4a6f624869ff73746f7279000000fc000000000000006800000000000000c2ff0000000000000000f7 MinCommitTs:449574032490627073}"]
[2024/05/06 09:47:12.447 +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 09:47:12.32 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.454 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=194]
[2024/05/06 09:47:12.454 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.455 +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 09:47:12.472 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.472 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:12.490 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.490 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.490 +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 09:47:12.463 +0000 UTC, Err:<nil>, 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 09:47:12.491 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.494 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=304] [neededSchemaVersion=305] ["start time"=465.287ยตs] [gotSchemaVersion=305] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.495 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=305]
[2024/05/06 09:47:12.505 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=12.168234ms] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.507 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.522 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.522 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.525 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.528 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=305] [neededSchemaVersion=306] ["start time"=491.421ยตs] [gotSchemaVersion=306] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=306]
[2024/05/06 09:47:12.536 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=8.741205ms] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.537 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.546 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.546 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.547 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.550 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=306] [neededSchemaVersion=307] ["start time"=560.184ยตs] [gotSchemaVersion=307] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.552 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=307]
[2024/05/06 09:47:12.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=307] ["take time"=4.217132ms] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.555 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.564 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.564 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.565 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.568 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=307] [neededSchemaVersion=308] ["start time"=398.678ยตs] [gotSchemaVersion=308] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.570 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=308]
[2024/05/06 09:47:12.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=308] ["take time"=2.194679ms] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.571 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.577 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.581 +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 09:47:12.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.582 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=195]
[2024/05/06 09:47:12.582 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.582 +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 09:47:12.585 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.585 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:12.600 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.600 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.603 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=308] [neededSchemaVersion=309] ["start time"=494.352ยตs] [gotSchemaVersion=309] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=309]
[2024/05/06 09:47:12.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=309] ["take time"=6.299755ms] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.613 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.623 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.624 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.626 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.628 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=309] [neededSchemaVersion=310] ["start time"=469.988ยตs] [gotSchemaVersion=310] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=310]
[2024/05/06 09:47:12.632 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=4.515182ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.634 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.644 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.644 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.645 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=310] [neededSchemaVersion=311] ["start time"=447.905ยตs] [gotSchemaVersion=311] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.648 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=311]
[2024/05/06 09:47:12.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=311] ["take time"=11.810229ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.659 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.665 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.666 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.667 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.670 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=311] [neededSchemaVersion=312] ["start time"=396.083ยตs] [gotSchemaVersion=312] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.671 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=312]
[2024/05/06 09:47:12.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=312] ["take time"=12.375452ms] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.690 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.696 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=196] [jobType="drop column"]
[2024/05/06 09:47:12.696 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.703 +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 09:47:12.584 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.708 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=196]
[2024/05/06 09:47:12.708 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.708 +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 09:47:12.711 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.711 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:12.718 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.718 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.718 +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 09:47:12.709 +0000 UTC, Err:<nil>, 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 09:47:12.719 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.721 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=312] [neededSchemaVersion=313] ["start time"=455.602ยตs] [gotSchemaVersion=313] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.723 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=313]
[2024/05/06 09:47:12.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=313] ["take time"=4.848292ms] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.730 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.736 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.736 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.742 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=313] [neededSchemaVersion=314] ["start time"=300.317ยตs] [gotSchemaVersion=314] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.745 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=314]
[2024/05/06 09:47:12.747 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=4.317054ms] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.759 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.765 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.765 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.766 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.768 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=314] [neededSchemaVersion=315] ["start time"=453.765ยตs] [gotSchemaVersion=315] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.771 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=315]
[2024/05/06 09:47:12.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=315] ["take time"=21.356226ms] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.790 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.814 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.814 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.815 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=315] [neededSchemaVersion=316] ["start time"=460.978ยตs] [gotSchemaVersion=316] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.822 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=316]
[2024/05/06 09:47:12.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=316] ["take time"=5.409391ms] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.826 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.838 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.841 +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 09:47:12.709 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.843 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=197]
[2024/05/06 09:47:12.843 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.844 +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 09:47:12.852 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.852 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:12.861 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.861 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.862 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.864 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=316] [neededSchemaVersion=317] ["start time"=399.405ยตs] [gotSchemaVersion=317] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=317]
[2024/05/06 09:47:12.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=317] ["take time"=2.024167ms] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.867 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.875 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.875 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.877 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=317] [neededSchemaVersion=318] ["start time"=444.232ยตs] [gotSchemaVersion=318] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.885 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=318]
[2024/05/06 09:47:12.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=318] ["take time"=2.418177ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.886 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.892 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.892 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.893 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.895 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=318] [neededSchemaVersion=319] ["start time"=431.214ยตs] [gotSchemaVersion=319] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.896 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=319]
[2024/05/06 09:47:12.896 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=2.043297ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.897 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.901 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.901 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.902 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=319] [neededSchemaVersion=320] ["start time"=423.691ยตs] [gotSchemaVersion=320] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:12.914 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=320]
[2024/05/06 09:47:12.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=320] ["take time"=12.971418ms] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.918 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.926 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=198] [jobType="drop column"]
[2024/05/06 09:47:12.927 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.934 +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 09:47:12.845 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.937 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=198]
[2024/05/06 09:47:12.937 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:12.938 +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 09:47:12.940 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:12.940 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:12.972 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.972 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.973 +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 09:47:12.939 +0000 UTC, Err:<nil>, 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 09:47:12.974 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=320] [neededSchemaVersion=321] ["start time"=462.529ยตs] [gotSchemaVersion=321] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:12.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=321]
[2024/05/06 09:47:12.982 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=4.946458ms] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.983 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.994 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.994 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.995 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:12.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=321] [neededSchemaVersion=322] ["start time"=422.156ยตs] [gotSchemaVersion=322] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=322]
[2024/05/06 09:47:13.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=322] ["take time"=6.010494ms] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.004 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.023 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.023 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.028 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=322] [neededSchemaVersion=323] ["start time"=491.805ยตs] [gotSchemaVersion=323] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.044 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=323]
[2024/05/06 09:47:13.045 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=4.207405ms] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.046 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.057 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.057 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.058 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=323] [neededSchemaVersion=324] ["start time"=483.67ยตs] [gotSchemaVersion=324] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.066 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=324]
[2024/05/06 09:47: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=324] ["take time"=5.970014ms] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.071 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.078 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.081 +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 09:47:12.939 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.081 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=199]
[2024/05/06 09:47:13.081 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.082 +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 09:47:13.084 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.084 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:13.092 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.092 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.093 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=324] [neededSchemaVersion=325] ["start time"=490.663ยตs] [gotSchemaVersion=325] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.099 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=325]
[2024/05/06 09:47: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=325] ["take time"=4.05955ms] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.101 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.109 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.109 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.110 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.112 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=325] [neededSchemaVersion=326] ["start time"=471.224ยตs] [gotSchemaVersion=326] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=326]
[2024/05/06 09:47:13.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=326] ["take time"=4.83406ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.118 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.124 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.124 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.125 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=326] [neededSchemaVersion=327] ["start time"=396.533ยตs] [gotSchemaVersion=327] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.128 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=327]
[2024/05/06 09:47:13.130 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=327] ["take time"=4.04194ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.135 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.144 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.147 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.154 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=327] [neededSchemaVersion=328] ["start time"=405.45ยตs] [gotSchemaVersion=328] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=328]
[2024/05/06 09:47:13.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=328] ["take time"=2.040093ms] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.159 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.165 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop column"]
[2024/05/06 09:47:13.166 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.193 +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 09:47:13.083 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.197 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=200]
[2024/05/06 09:47:13.197 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.198 +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 09:47:13.200 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.200 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:13.208 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.208 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.209 +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 09:47:13.199 +0000 UTC, Err:<nil>, 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 09:47:13.210 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.212 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=328] [neededSchemaVersion=329] ["start time"=409.659ยตs] [gotSchemaVersion=329] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=329]
[2024/05/06 09:47:13.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=329] ["take time"=11.582764ms] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.224 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.230 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.230 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.231 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.241 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=329] [neededSchemaVersion=330] ["start time"=455.607ยตs] [gotSchemaVersion=330] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.248 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=330]
[2024/05/06 09:47:13.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=330] ["take time"=16.217208ms] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.253 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.259 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.259 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.260 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=330] [neededSchemaVersion=331] ["start time"=414.888ยตs] [gotSchemaVersion=331] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=331]
[2024/05/06 09:47:13.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=331] ["take time"=3.624492ms] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.267 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.272 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.272 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.273 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=331] [neededSchemaVersion=332] ["start time"=496.4ยตs] [gotSchemaVersion=332] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.277 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=332]
[2024/05/06 09:47:13.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=332] ["take time"=3.870025ms] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.285 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.291 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.294 +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 09:47:13.199 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.294 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=201]
[2024/05/06 09:47:13.294 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.295 +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 09:47:13.305 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.305 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:13.315 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.315 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.318 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=332] [neededSchemaVersion=333] ["start time"=476.477ยตs] [gotSchemaVersion=333] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.323 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=333]
[2024/05/06 09:47:13.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=333] ["take time"=6.315027ms] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.330 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.340 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.340 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.341 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.348 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=333] [neededSchemaVersion=334] ["start time"=423.768ยตs] [gotSchemaVersion=334] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=334]
[2024/05/06 09:47:13.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=2.047737ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.351 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.356 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.356 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.357 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.359 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=334] [neededSchemaVersion=335] ["start time"=408.81ยตs] [gotSchemaVersion=335] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=335]
[2024/05/06 09:47:13.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=335] ["take time"=4.099932ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.363 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.370 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.370 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.372 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=335] [neededSchemaVersion=336] ["start time"=455.338ยตs] [gotSchemaVersion=336] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.376 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=336]
[2024/05/06 09:47:13.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=336] ["take time"=12.049702ms] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.389 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.394 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=202] [jobType="drop column"]
[2024/05/06 09:47:13.394 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.397 +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 09:47:13.296 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.402 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=202]
[2024/05/06 09:47:13.402 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.403 +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 09:47:13.405 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.405 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:13.412 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.412 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.413 +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 09:47:13.404 +0000 UTC, Err:<nil>, 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 09:47:13.414 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=336] [neededSchemaVersion=337] ["start time"=414.889ยตs] [gotSchemaVersion=337] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=337]
[2024/05/06 09:47:13.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=2.011413ms] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.421 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.427 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.427 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.430 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.434 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=337] [neededSchemaVersion=338] ["start time"=436.116ยตs] [gotSchemaVersion=338] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.435 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=338]
[2024/05/06 09:47:13.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=338] ["take time"=4.234313ms] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.438 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.443 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.443 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.444 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=338] [neededSchemaVersion=339] ["start time"=410.493ยตs] [gotSchemaVersion=339] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=339]
[2024/05/06 09:47:13.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=339] ["take time"=4.710081ms] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.451 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.456 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.456 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.461 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=339] [neededSchemaVersion=340] ["start time"=454.94ยตs] [gotSchemaVersion=340] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=340]
[2024/05/06 09:47:13.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=340] ["take time"=5.327553ms] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.485 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.491 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.495 +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 09:47:13.404 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.495 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=203]
[2024/05/06 09:47:13.495 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.496 +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 09:47:13.498 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.498 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:13.506 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.506 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.507 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.509 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=340] [neededSchemaVersion=341] ["start time"=441.228ยตs] [gotSchemaVersion=341] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.511 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=341]
[2024/05/06 09:47:13.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=341] ["take time"=4.313784ms] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.520 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.532 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.532 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.536 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=341] [neededSchemaVersion=342] ["start time"=404.999ยตs] [gotSchemaVersion=342] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.543 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=342]
[2024/05/06 09:47:13.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=342] ["take time"=2.069814ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.544 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.549 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.549 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.561 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.563 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=342] [neededSchemaVersion=343] ["start time"=419.486ยตs] [gotSchemaVersion=343] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=343]
[2024/05/06 09:47:13.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=343] ["take time"=23.893702ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.588 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.597 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.597 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.599 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=343] [neededSchemaVersion=344] ["start time"=404.512ยตs] [gotSchemaVersion=344] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:13.603 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=344]
[2024/05/06 09:47:13.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=344] ["take time"=5.046115ms] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.607 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.619 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=204] [jobType="drop column"]
[2024/05/06 09:47:13.619 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.622 +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 09:47:13.497 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.627 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=204]
[2024/05/06 09:47:13.627 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.627 +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 09:47:13.630 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:13.630 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:13.641 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.641 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.642 +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 09:47:13.629 +0000 UTC, Err:<nil>, 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 09:47:13.645 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.657 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=344] [neededSchemaVersion=345] ["start time"=426.54ยตs] [gotSchemaVersion=345] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.658 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=345]
[2024/05/06 09:47:13.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=345] ["take time"=6.177228ms] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.663 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.667 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.668 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.668 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.670 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=345] [neededSchemaVersion=346] ["start time"=414.006ยตs] [gotSchemaVersion=346] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.672 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=346]
[2024/05/06 09:47:13.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=346] ["take time"=2.356033ms] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.675 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.680 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.680 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.681 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=346] [neededSchemaVersion=347] ["start time"=432.894ยตs] [gotSchemaVersion=347] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.684 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=347]
[2024/05/06 09:47:13.685 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=347] ["take time"=2.326863ms] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.698 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.703 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.703 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.704 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.710 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=347] [neededSchemaVersion=348] ["start time"=451.48ยตs] [gotSchemaVersion=348] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:13.712 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=348]
[2024/05/06 09:47:13.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=348] ["take time"=20.426187ms] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.734 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.738 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.743 +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 09:47:13.629 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:13.743 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=205]
[2024/05/06 09:47:13.743 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:13.744 +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 09:47:13.750 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:13.750 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:13.756 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.756 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.756 +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 09:47:13.745 +0000 UTC, Err:<nil>, 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 09:47:13.756 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:13.757 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.759 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=348] [neededSchemaVersion=349] ["start time"=484.416ยตs] [gotSchemaVersion=349] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:13.761 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=349]
[2024/05/06 09:47:13.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=349] ["take time"=4.2235ms] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.764 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.771 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.771 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.772 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.774 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=349] [neededSchemaVersion=350] ["start time"=481.586ยตs] [gotSchemaVersion=350] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:13.776 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=350]
[2024/05/06 09:47:13.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=350] ["take time"=5.369524ms] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.780 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.791 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.791 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.792 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=350] [neededSchemaVersion=351] ["start time"=466.489ยตs] [gotSchemaVersion=351] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:13.803 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=351]
[2024/05/06 09:47:13.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=4.292973ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.806 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.812 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.812 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.812 +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 09:47:13.813 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:13.815 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.821 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:13.822 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.844 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.844 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.845 +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 09:47:13.847 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:13.848 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:13.849 +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 09:47:13.850 +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 09:47:13.857 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:13.857 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.858 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:13.858 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.867 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.867 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.867 +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 09:47:13.890 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:13.890 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.891 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:13.891 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.898 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.898 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.898 +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 09:47:13.921 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:13.921 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.922 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:13.922 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.931 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.931 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.932 +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 09:47:13.944 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:13.944 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.945 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:13.945 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.952 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.952 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:13.953 +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 09:47:14.068 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192]
[2024/05/06 09:47:14.068 +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:192, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.071 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.072 +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:192, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.080 +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:192, ArgLen:0, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.080 +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:192, ArgLen:0, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.080 +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 09:47:14.093 +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"=134.514994ms]
[2024/05/06 09:47:14.093 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=206]
[2024/05/06 09:47:14.093 +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 09:47:14.180 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2016]
[2024/05/06 09:47:14.180 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.181 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.182 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.190 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.190 +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:2016, ArgLen:0, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.190 +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 09:47:14.193 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:14.255 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.258 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=351] [neededSchemaVersion=352] ["start time"=491.799ยตs] [gotSchemaVersion=352] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:14.260 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=352]
[2024/05/06 09:47: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=352] ["take time"=17.563351ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.276 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.285 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.285 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032850812929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.285 +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 09:47:14.286 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.297 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=352] [neededSchemaVersion=353] ["start time"=488.865ยตs] [gotSchemaVersion=353] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:14.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=353]
[2024/05/06 09:47:14.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=353] ["take time"=13.447873ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.302 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.309 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.309 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.310 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000018ff]
[2024/05/06 09:47:14.312 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.313 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.314 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.320 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.320 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.322 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f69ffff000000000018,EndKey:74800000000000006f5f69ffff000000000018ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:14.323 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000018] ["end key"=74800000000000006f5f69ffff000000000018ff]
[2024/05/06 09:47:14.323 +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 09:47:14.324 +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 09:47:14.386 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:14.386 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.386 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.387 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.396 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.397 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.424 +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"=211.594ยตs]
[2024/05/06 09:47:14.424 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=206]
[2024/05/06 09:47:14.424 +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 09:47:14.466 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:14.466 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.467 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.468 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.496 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.496 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.516 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:14.626 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:14.626 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.629 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=353] [neededSchemaVersion=354] ["start time"=502.954ยตs] [gotSchemaVersion=354] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:14.632 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=354]
[2024/05/06 09:47:14.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=5.206659ms] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.638 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.646 +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 09:47:14.648 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=206] [jobType="add index"]
[2024/05/06 09:47:14.648 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.653 +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 09:47:13.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574032981360640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.654 +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 09:47:14.660 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=206]
[2024/05/06 09:47:14.660 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:14.660 +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 09:47:14.664 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:14.665 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:14.684 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.686 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.687 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.689 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574033079402496, conflictStartTS=449574033079402497, conflictCommitTS=449574033079926784, 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 09:47:14.689 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574033079402496, conflictStartTS=449574033079402497, conflictCommitTS=449574033079926784, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:14.689 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574033079402496, conflictStartTS=449574033079402497, conflictCommitTS=449574033079926784, 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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.695 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.695 +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 09:47:14.662 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.695 +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 09:47:14.662 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:14.695 +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 09:47:14.662 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.696 +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 09:47:14.662 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.698 +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 09:47:14.662 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.699 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=207]
[2024/05/06 09:47:14.699 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:14.699 +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 09:47:14.699 +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 09:47:14.704 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:14.704 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:14.732 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.733 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.736 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.740 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=354] [neededSchemaVersion=356] ["start time"=520.101ยตs] [gotSchemaVersion=356] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:14.742 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=356]
[2024/05/06 09:47:14.747 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=356] ["take time"=7.916412ms] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.749 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.761 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.761 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.764 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.766 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=356] [neededSchemaVersion=357] ["start time"=510.291ยตs] [gotSchemaVersion=357] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:14.768 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=357]
[2024/05/06 09:47:14.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=357] ["take time"=5.700859ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.774 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.781 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.783 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.784 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.786 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=357] [neededSchemaVersion=358] ["start time"=493.185ยตs] [gotSchemaVersion=358] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:14.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=358]
[2024/05/06 09:47:14.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=358] ["take time"=5.300216ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.792 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.800 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.800 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.801 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.808 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=358] [neededSchemaVersion=359] ["start time"=488.009ยตs] [gotSchemaVersion=359] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:14.810 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=359]
[2024/05/06 09:47:14.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=5.459979ms] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.814 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.821 +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 09:47:14.822 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop column"]
[2024/05/06 09:47:14.822 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.828 +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 09:47:14.701 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.831 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=208]
[2024/05/06 09:47:14.831 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:14.832 +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 09:47:14.854 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:14.855 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:14.855 +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 09:47:14.867 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.867 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.868 +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 09:47:14.833 +0000 UTC, Err:<nil>, 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 09:47:14.868 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.871 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=359] [neededSchemaVersion=360] ["start time"=409.826ยตs] [gotSchemaVersion=360] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:14.872 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=360]
[2024/05/06 09:47: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=360] ["take time"=4.250831ms] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.875 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.881 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.881 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.881 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=360] [neededSchemaVersion=361] ["start time"=471.192ยตs] [gotSchemaVersion=361] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:14.887 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=361]
[2024/05/06 09:47:14.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=361] ["take time"=4.839237ms] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.891 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.897 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.897 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.900 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.902 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=361] [neededSchemaVersion=362] ["start time"=417.332ยตs] [gotSchemaVersion=362] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:14.904 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=362]
[2024/05/06 09:47:14.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=362] ["take time"=2.815062ms] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.906 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.926 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.926 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.935 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=362] [neededSchemaVersion=363] ["start time"=439.23ยตs] [gotSchemaVersion=363] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:14.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=363]
[2024/05/06 09:47:14.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"=5.406045ms] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.947 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.954 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.959 +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 09:47:14.833 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:14.961 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=209]
[2024/05/06 09:47:14.961 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:14.961 +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 09:47:14.978 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:14.978 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:14.990 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.990 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.991 +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 09:47:14.962 +0000 UTC, Err:<nil>, 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 09:47:14.991 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:14.993 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.995 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=363] [neededSchemaVersion=364] ["start time"=506.018ยตs] [gotSchemaVersion=364] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:14.997 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=364]
[2024/05/06 09:47:14.997 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=2.068988ms] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:14.998 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.005 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.005 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.006 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.008 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=364] [neededSchemaVersion=365] ["start time"=451.384ยตs] [gotSchemaVersion=365] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=365]
[2024/05/06 09:47:15.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=365] ["take time"=5.393406ms] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.014 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.022 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.022 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.023 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=365] [neededSchemaVersion=366] ["start time"=461.397ยตs] [gotSchemaVersion=366] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=366]
[2024/05/06 09:47:15.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=366] ["take time"=7.21274ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.033 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.050 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.050 +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:0, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.050 +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 09:47:15.051 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:15.054 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.055 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.055 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.062 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.062 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.063 +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 09:47:15.064 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:15.065 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:15.065 +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 09:47:15.066 +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 09:47:15.076 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:15.076 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.077 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.077 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.088 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.088 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.088 +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 09:47:15.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 09:47:15.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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.103 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.103 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.109 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.109 +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:0, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.110 +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 09:47:15.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 09:47:15.124 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.125 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.125 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.132 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.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 09:47:15.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 09:47:15.147 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.148 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.148 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.161 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.161 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.162 +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 09:47:15.184 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:15.184 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.185 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.185 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.197 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.197 +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:0, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.198 +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 09:47:15.255 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=32]
[2024/05/06 09:47:15.255 +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:32, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.256 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.256 +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:32, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.263 +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:32, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.263 +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:32, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.264 +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 09:47:15.333 +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"=143.560517ms]
[2024/05/06 09:47:15.333 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=210]
[2024/05/06 09:47:15.333 +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 09:47:15.349 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=896]
[2024/05/06 09:47:15.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:896, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.350 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.350 +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:896, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.358 +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:896, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.358 +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:896, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.358 +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 09:47:15.360 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:15.437 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.441 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=366] [neededSchemaVersion=367] ["start time"=506.37ยตs] [gotSchemaVersion=367] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=367]
[2024/05/06 09:47:15.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=367] ["take time"=17.438093ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.459 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.466 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.466 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033175347201, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.466 +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 09:47:15.468 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.470 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=367] [neededSchemaVersion=368] ["start time"=465.597ยตs] [gotSchemaVersion=368] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.472 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=368]
[2024/05/06 09:47:15.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=368] ["take time"=4.545346ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.476 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.495 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.496 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.496 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff000000000019ff]
[2024/05/06 09:47:15.504 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.505 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.506 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.512 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.513 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.514 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f69ffff000000000019,EndKey:74800000000000006f5f69ffff000000000019ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:15.515 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000019] ["end key"=74800000000000006f5f69ffff000000000019ff]
[2024/05/06 09:47:15.515 +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 09:47:15.516 +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 09:47:15.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 09:47:15.595 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.596 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.596 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.604 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.604 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.633 +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"=238.617ยตs]
[2024/05/06 09:47:15.634 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=210]
[2024/05/06 09:47:15.634 +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 09:47:15.665 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:15.665 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.665 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.666 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.675 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.675 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.677 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:15.733 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:15.733 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=368] [neededSchemaVersion=369] ["start time"=525.335ยตs] [gotSchemaVersion=369] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.737 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=369]
[2024/05/06 09:47:15.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=369] ["take time"=4.412751ms] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.741 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.749 +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 09:47:15.750 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=210] [jobType="add index"]
[2024/05/06 09:47:15.751 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.756 +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 09:47:15.757 +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 09:47:14.962 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033292263424, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.765 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=210]
[2024/05/06 09:47:15.765 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:15.765 +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 09:47:15.768 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:15.768 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:15.784 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.784 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.785 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.787 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=369] [neededSchemaVersion=370] ["start time"=538.329ยตs] [gotSchemaVersion=370] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:15.788 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=370]
[2024/05/06 09:47:15.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=370] ["take time"=2.094082ms] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.789 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.799 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.800 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.801 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=370] [neededSchemaVersion=371] ["start time"=552.811ยตs] [gotSchemaVersion=371] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:15.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=371]
[2024/05/06 09:47:15.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=10.520093ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.814 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.826 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.826 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.827 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=371] [neededSchemaVersion=372] ["start time"=457.608ยตs] [gotSchemaVersion=372] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:15.832 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=372]
[2024/05/06 09:47:15.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=372] ["take time"=4.093097ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.834 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.841 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.841 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.842 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.845 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=372] [neededSchemaVersion=373] ["start time"=487.503ยตs] [gotSchemaVersion=373] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:15.849 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=373]
[2024/05/06 09:47:15.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=373] ["take time"=6.017004ms] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.852 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.857 +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 09:47:15.858 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop column"]
[2024/05/06 09:47:15.859 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.864 +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 09:47:15.767 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.867 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=211]
[2024/05/06 09:47:15.867 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:15.867 +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 09:47:15.871 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:15.871 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:15.880 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.880 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.881 +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 09:47:15.869 +0000 UTC, Err:<nil>, 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 09:47:15.881 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=373] [neededSchemaVersion=374] ["start time"=500.379ยตs] [gotSchemaVersion=374] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:15.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=374]
[2024/05/06 09:47:15.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=374] ["take time"=2.018118ms] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.889 +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 09:47:15.892 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.899 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.899 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.901 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.909 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=374] [neededSchemaVersion=375] ["start time"=4.299185ms] [gotSchemaVersion=375] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:15.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=375]
[2024/05/06 09:47:15.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=375] ["take time"=8.458477ms] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.914 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.920 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.920 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.925 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=375] [neededSchemaVersion=376] ["start time"=460.122ยตs] [gotSchemaVersion=376] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:15.930 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=376]
[2024/05/06 09:47:15.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=376] ["take time"=4.932493ms] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.932 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.940 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.941 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.941 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=376] [neededSchemaVersion=377] ["start time"=418.793ยตs] [gotSchemaVersion=377] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:15.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=377]
[2024/05/06 09:47:15.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=2.056164ms] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.946 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.952 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.956 +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 09:47:15.869 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:15.958 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=212]
[2024/05/06 09:47:15.958 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:15.959 +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 09:47:15.965 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:15.966 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:15.982 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.982 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.982 +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 09:47:15.96 +0000 UTC, Err:<nil>, 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 09:47:15.982 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:15.989 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=377] [neededSchemaVersion=378] ["start time"=541.965ยตs] [gotSchemaVersion=378] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:15.992 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=378]
[2024/05/06 09:47:15.997 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=378] ["take time"=6.446727ms] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:15.998 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.005 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.005 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.006 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.008 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=378] [neededSchemaVersion=379] ["start time"=483.003ยตs] [gotSchemaVersion=379] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:16.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=379]
[2024/05/06 09:47:16.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=379] ["take time"=4.828714ms] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.018 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.026 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.026 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.026 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.033 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=379] [neededSchemaVersion=380] ["start time"=458.709ยตs] [gotSchemaVersion=380] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:16.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=380]
[2024/05/06 09:47:16.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=380] ["take time"=6.009912ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.041 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.047 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.047 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.048 +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 09:47:16.049 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:16.051 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.052 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.053 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.061 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.061 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.061 +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 09:47:16.063 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:16.064 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:16.064 +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 09:47:16.064 +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 09:47:16.076 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:16.076 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.077 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.078 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.089 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.089 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.090 +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 09:47:16.104 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:16.104 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.104 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.105 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.113 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.113 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.113 +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 09:47:16.126 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:16.126 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.127 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.127 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.137 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.137 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.137 +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 09:47:16.151 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:16.151 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.152 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.152 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.160 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.160 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.161 +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 09:47:16.230 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=224]
[2024/05/06 09:47:16.230 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.231 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.232 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.236 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.236 +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:224, ArgLen:0, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.237 +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 09:47:16.254 +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"=86.478455ms]
[2024/05/06 09:47:16.254 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=213]
[2024/05/06 09:47:16.254 +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 09:47:16.296 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1856]
[2024/05/06 09:47:16.296 +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:1856, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.310 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.310 +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:1856, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.318 +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:1856, ArgLen:0, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.318 +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:1856, ArgLen:0, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.319 +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 09:47:16.320 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:16.401 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=380] [neededSchemaVersion=381] ["start time"=476.791ยตs] [gotSchemaVersion=381] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:16.405 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=381]
[2024/05/06 09:47:16.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=381] ["take time"=4.280699ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.408 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.415 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.415 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033436966912, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.416 +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 09:47:16.416 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.419 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=381] [neededSchemaVersion=382] ["start time"=581.525ยตs] [gotSchemaVersion=382] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:16.421 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=382]
[2024/05/06 09:47:16.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=382] ["take time"=29.694094ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.454 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.467 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.468 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.468 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001aff]
[2024/05/06 09:47:16.474 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.477 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.477 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.486 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.486 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.488 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f69ffff00000000001a,EndKey:74800000000000006f5f69ffff00000000001aff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:16.489 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001a] ["end key"=74800000000000006f5f69ffff00000000001aff]
[2024/05/06 09:47:16.489 +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 09:47:16.489 +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 09:47:16.543 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:16.543 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.544 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.544 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.560 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.560 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.591 +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"=221.996ยตs]
[2024/05/06 09:47:16.591 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=213]
[2024/05/06 09:47:16.591 +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 09:47:16.634 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:16.634 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.635 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.635 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.644 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.644 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.658 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:16.743 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:16.743 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.746 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=382] [neededSchemaVersion=383] ["start time"=480.828ยตs] [gotSchemaVersion=383] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:16.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=383]
[2024/05/06 09:47:16.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=6.301854ms] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.754 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.769 +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 09:47:16.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="add index"]
[2024/05/06 09:47:16.773 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.789 +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 09:47:15.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033547067392, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:16.791 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=213]
[2024/05/06 09:47:16.791 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:16.792 +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 09:47:16.797 +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 09:47:16.798 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:16.798 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:16.804 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.804 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.805 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.809 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=383] [neededSchemaVersion=384] ["start time"=499.861ยตs] [gotSchemaVersion=384] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:16.810 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=384]
[2024/05/06 09:47:16.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=4.908219ms] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.815 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.821 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.823 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.824 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.826 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=384] [neededSchemaVersion=385] ["start time"=418.379ยตs] [gotSchemaVersion=385] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:16.827 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=385]
[2024/05/06 09:47:16.830 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=4.813979ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.831 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.840 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.842 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.842 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=385] [neededSchemaVersion=386] ["start time"=433.148ยตs] [gotSchemaVersion=386] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:16.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=386]
[2024/05/06 09:47:16.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=386] ["take time"=10.066609ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.855 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.862 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.862 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.862 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.865 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=386] [neededSchemaVersion=387] ["start time"=425.559ยตs] [gotSchemaVersion=387] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:16.867 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=387]
[2024/05/06 09:47: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=387] ["take time"=5.578498ms] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.876 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.881 +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 09:47:16.883 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=214] [jobType="drop column"]
[2024/05/06 09:47:16.883 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.894 +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 09:47:16.795 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.898 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=214]
[2024/05/06 09:47:16.898 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:16.899 +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 09:47:16.902 +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 09:47:16.904 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:16.904 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:16.919 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.919 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.920 +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 09:47:16.9 +0000 UTC, Err:<nil>, 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 09:47:16.921 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=387] [neededSchemaVersion=388] ["start time"=445.355ยตs] [gotSchemaVersion=388] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:16.943 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=388]
[2024/05/06 09:47:16.947 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=7.343414ms] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.948 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.955 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.955 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.957 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.964 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=388] [neededSchemaVersion=389] ["start time"=496.409ยตs] [gotSchemaVersion=389] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:16.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=389]
[2024/05/06 09:47:16.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=389] ["take time"=6.654953ms] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.967 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.974 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.974 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.975 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:16.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=389] [neededSchemaVersion=390] ["start time"=423.689ยตs] [gotSchemaVersion=390] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:16.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=390]
[2024/05/06 09:47:16.992 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=390] ["take time"=15.144398ms] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.006 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.016 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.016 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.017 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=390] [neededSchemaVersion=391] ["start time"=475.147ยตs] [gotSchemaVersion=391] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:17.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=391]
[2024/05/06 09:47:17.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=391] ["take time"=4.498514ms] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.034 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.049 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.052 +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 09:47:16.9 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.056 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=215]
[2024/05/06 09:47:17.056 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:17.056 +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 09:47:17.060 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:17.060 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:17.080 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.080 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.080 +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 09:47:17.058 +0000 UTC, Err:<nil>, 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 09:47:17.080 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:17.081 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.089 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=391] [neededSchemaVersion=392] ["start time"=501.36ยตs] [gotSchemaVersion=392] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.090 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=392]
[2024/05/06 09:47:17.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=392] ["take time"=4.133855ms] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.092 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.103 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.103 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.112 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=392] [neededSchemaVersion=393] ["start time"=551.295ยตs] [gotSchemaVersion=393] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=393]
[2024/05/06 09:47:17.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=393] ["take time"=7.792845ms] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.122 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.136 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.137 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.138 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=393] [neededSchemaVersion=394] ["start time"=535.818ยตs] [gotSchemaVersion=394] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.144 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=394]
[2024/05/06 09:47:17.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=11.538674ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.157 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.166 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.166 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.167 +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 09:47:17.167 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:17.179 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.181 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.182 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.191 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.192 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.192 +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 09:47:17.194 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:17.195 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:17.195 +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 09:47:17.195 +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 09:47:17.207 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:17.208 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.208 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.209 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.239 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.239 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.239 +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 09:47:17.251 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:17.252 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.252 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.253 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.261 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.261 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.261 +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 09:47:17.288 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:17.288 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.289 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.290 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.296 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.317 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.318 +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 09:47:17.377 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=544]
[2024/05/06 09:47:17.377 +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:544, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.379 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.380 +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:544, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.390 +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:544, ArgLen:0, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.390 +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:544, ArgLen:0, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.391 +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 09:47:17.392 +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"=97.188946ms]
[2024/05/06 09:47:17.392 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=216]
[2024/05/06 09:47:17.392 +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 09:47:17.393 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:17.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:2049, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=394] [neededSchemaVersion=395] ["start time"=453.081ยตs] [gotSchemaVersion=395] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=395]
[2024/05/06 09:47:17.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=395] ["take time"=12.150627ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.463 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.471 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.471 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033730306048, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.471 +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 09:47:17.472 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=395] [neededSchemaVersion=396] ["start time"=437.146ยตs] [gotSchemaVersion=396] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=396]
[2024/05/06 09:47:17.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=396] ["take time"=6.981529ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.482 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.487 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.487 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.487 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001bff]
[2024/05/06 09:47:17.490 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.491 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.492 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.498 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.498 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.500 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f69ffff00000000001b,EndKey:74800000000000006f5f69ffff00000000001bff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:17.501 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001b] ["end key"=74800000000000006f5f69ffff00000000001bff]
[2024/05/06 09:47:17.501 +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 09:47:17.501 +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 09:47:17.555 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:17.555 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.556 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.557 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.564 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.565 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.610 +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"=195.531ยตs]
[2024/05/06 09:47:17.610 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=216]
[2024/05/06 09:47:17.610 +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 09:47:17.624 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:17.624 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.625 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.625 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.632 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.633 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.635 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:17.694 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:17.695 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=396] [neededSchemaVersion=397] ["start time"=462.116ยตs] [gotSchemaVersion=397] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=397]
[2024/05/06 09:47:17.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=397] ["take time"=2.23346ms] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.701 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.707 +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 09:47:17.708 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="add index"]
[2024/05/06 09:47:17.709 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.712 +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 09:47:17.715 +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 09:47:17.058 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033814192129, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.720 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=216]
[2024/05/06 09:47:17.720 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:17.721 +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 09:47:17.723 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:17.723 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:17.731 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.731 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.734 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=397] [neededSchemaVersion=398] ["start time"=450.786ยตs] [gotSchemaVersion=398] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:17.738 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=398]
[2024/05/06 09:47:17.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=398] ["take time"=5.068876ms] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.742 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.750 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.750 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.751 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.753 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=398] [neededSchemaVersion=399] ["start time"=404.638ยตs] [gotSchemaVersion=399] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:17.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=399]
[2024/05/06 09:47:17.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=399] ["take time"=9.416784ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.763 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.769 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.769 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.773 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.776 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=399] [neededSchemaVersion=400] ["start time"=474.767ยตs] [gotSchemaVersion=400] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:17.778 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=400]
[2024/05/06 09:47:17.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=400] ["take time"=4.907725ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.786 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.790 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.790 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.790 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=400] [neededSchemaVersion=401] ["start time"=382.675ยตs] [gotSchemaVersion=401] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:17.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=401]
[2024/05/06 09:47:17.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=401] ["take time"=2.980118ms] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.796 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.801 +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 09:47:17.808 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop column"]
[2024/05/06 09:47:17.808 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.822 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=217]
[2024/05/06 09:47:17.822 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:17.822 +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 09:47:17.828 +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 09:47:17.722 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.839 +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 09:47:17.839 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:17.839 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:17.845 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.845 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.845 +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 09:47:17.824 +0000 UTC, Err:<nil>, 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 09:47:17.846 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=401] [neededSchemaVersion=402] ["start time"=436.19ยตs] [gotSchemaVersion=402] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:17.851 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=402]
[2024/05/06 09:47:17.851 +00:00] [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.031065ms] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.852 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.858 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.858 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.864 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.866 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=402] [neededSchemaVersion=403] ["start time"=427.698ยตs] [gotSchemaVersion=403] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:17.867 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=403]
[2024/05/06 09:47:17.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=403] ["take time"=2.433678ms] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.869 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.874 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.874 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.876 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.878 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=403] [neededSchemaVersion=404] ["start time"=400.236ยตs] [gotSchemaVersion=404] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:17.880 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=404]
[2024/05/06 09:47:17.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=404] ["take time"=3.823289ms] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.884 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.892 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.892 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.893 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.897 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=404] [neededSchemaVersion=405] ["start time"=384.407ยตs] [gotSchemaVersion=405] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:17.898 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=405]
[2024/05/06 09:47: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=405] ["take time"=9.296522ms] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.907 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.912 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.921 +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 09:47:17.824 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:17.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=218]
[2024/05/06 09:47:17.922 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:17.923 +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 09:47:17.927 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:17.927 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:17.939 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.939 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.939 +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 09:47:17.924 +0000 UTC, Err:<nil>, 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 09:47:17.939 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:17.940 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.941 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=405] [neededSchemaVersion=406] ["start time"=420.667ยตs] [gotSchemaVersion=406] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.943 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=406]
[2024/05/06 09:47:17.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=406] ["take time"=9.745794ms] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.952 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.957 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.957 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.958 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.960 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=406] [neededSchemaVersion=407] ["start time"=450.995ยตs] [gotSchemaVersion=407] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.961 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=407]
[2024/05/06 09:47:17.961 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=2.010401ms] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.963 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.974 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.974 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.974 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.976 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=407] [neededSchemaVersion=408] ["start time"=455.802ยตs] [gotSchemaVersion=408] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:17.978 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=408]
[2024/05/06 09:47:17.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=408] ["take time"=4.023576ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:17.981 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.004 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.004 +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:0, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.005 +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 09:47:18.006 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:18.008 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.009 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.010 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.018 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.018 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.022 +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 09:47:18.023 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:18.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 09:47:18.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 09:47:18.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 09:47:18.035 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:18.035 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.037 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.038 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.043 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.043 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.044 +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 09:47:18.062 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:18.062 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.063 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.064 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.071 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.071 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.071 +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 09:47:18.092 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:18.092 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.093 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.093 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.100 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.100 +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:0, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.100 +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 09:47:18.146 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:18.146 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.147 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.147 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.155 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.155 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.155 +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 09:47:18.267 +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"=122.49877ms]
[2024/05/06 09:47:18.267 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=219]
[2024/05/06 09:47:18.267 +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 09:47:18.279 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=800]
[2024/05/06 09:47:18.279 +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:800, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.288 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.288 +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:800, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.295 +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:800, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.295 +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:800, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.295 +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 09:47:18.297 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:18.361 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.364 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=408] [neededSchemaVersion=409] ["start time"=485.082ยตs] [gotSchemaVersion=409] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.366 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=409]
[2024/05/06 09:47:18.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=409] ["take time"=11.350697ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.377 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.387 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.387 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574033949982720, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.387 +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 09:47:18.388 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.391 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=409] [neededSchemaVersion=410] ["start time"=421.146ยตs] [gotSchemaVersion=410] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=410]
[2024/05/06 09:47:18.393 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=2.812548ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.395 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.405 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.405 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.406 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001cff]
[2024/05/06 09:47:18.409 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.410 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.411 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.417 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.417 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.419 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f69ffff00000000001c,EndKey:74800000000000006f5f69ffff00000000001cff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:18.420 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001c] ["end key"=74800000000000006f5f69ffff00000000001cff]
[2024/05/06 09:47:18.420 +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 09:47:18.421 +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 09:47:18.500 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:18.500 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.501 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.502 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.521 +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"=261.599ยตs]
[2024/05/06 09:47:18.522 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=219]
[2024/05/06 09:47:18.522 +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 09:47:18.539 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.539 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.542 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:18.624 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:18.624 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.636 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=410] [neededSchemaVersion=411] ["start time"=451.772ยตs] [gotSchemaVersion=411] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.638 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=411]
[2024/05/06 09:47: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=411] ["take time"=4.008543ms] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.640 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.647 +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 09:47:18.650 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=219] [jobType="add index"]
[2024/05/06 09:47:18.650 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.653 +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 09:47:17.924 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034055102464, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.659 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=219]
[2024/05/06 09:47:18.659 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:18.659 +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 09:47:18.672 +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 09:47:18.672 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:18.672 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:18.680 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.680 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.681 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=411] [neededSchemaVersion=412] ["start time"=476.797ยตs] [gotSchemaVersion=412] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:18.684 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=412]
[2024/05/06 09:47:18.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=412] ["take time"=2.09921ms] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.686 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.695 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.695 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.699 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.701 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=412] [neededSchemaVersion=413] ["start time"=461.766ยตs] [gotSchemaVersion=413] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:18.703 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=413]
[2024/05/06 09:47:18.705 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=413] ["take time"=4.833813ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.706 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.712 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.712 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.717 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.719 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=413] [neededSchemaVersion=414] ["start time"=448.441ยตs] [gotSchemaVersion=414] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:18.720 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=414]
[2024/05/06 09:47:18.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=414] ["take time"=5.104065ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.726 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.733 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.735 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.735 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.738 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=414] [neededSchemaVersion=415] ["start time"=415.901ยตs] [gotSchemaVersion=415] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:18.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=415]
[2024/05/06 09:47:18.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=415] ["take time"=2.963652ms] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.741 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.746 +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 09:47:18.747 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=220] [jobType="drop column"]
[2024/05/06 09:47:18.748 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.752 +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 09:47:18.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.764 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=220]
[2024/05/06 09:47:18.764 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:18.765 +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 09:47:18.768 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:18.768 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:18.786 +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 09:47:18.791 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.791 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.791 +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 09:47:18.766 +0000 UTC, Err:<nil>, 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 09:47:18.792 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.794 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=415] [neededSchemaVersion=416] ["start time"=435.023ยตs] [gotSchemaVersion=416] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:18.795 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=416]
[2024/05/06 09:47:18.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=416] ["take time"=2.055346ms] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.796 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.800 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.800 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.802 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=416] [neededSchemaVersion=417] ["start time"=448.663ยตs] [gotSchemaVersion=417] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:18.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=417]
[2024/05/06 09:47:18.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=417] ["take time"=9.383423ms] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.814 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.820 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.820 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.821 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.823 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=417] [neededSchemaVersion=418] ["start time"=444.093ยตs] [gotSchemaVersion=418] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:18.824 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=418]
[2024/05/06 09:47:18.824 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=2.010314ms] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.825 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.833 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.833 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.834 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.837 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=418] [neededSchemaVersion=419] ["start time"=439.557ยตs] [gotSchemaVersion=419] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:18.838 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=419]
[2024/05/06 09:47:18.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=419] ["take time"=5.953108ms] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.842 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.847 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.858 +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 09:47:18.766 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:18.859 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=221]
[2024/05/06 09:47:18.859 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:18.859 +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 09:47:18.866 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:18.866 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:18.883 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.883 +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 09:47:18.861 +0000 UTC, Err:<nil>, 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 09:47:18.883 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:18.884 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=419] [neededSchemaVersion=420] ["start time"=426.412ยตs] [gotSchemaVersion=420] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.887 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=420]
[2024/05/06 09:47:18.887 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=2.193457ms] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.891 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.920 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.920 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.924 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=420] [neededSchemaVersion=421] ["start time"=459.957ยตs] [gotSchemaVersion=421] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=421]
[2024/05/06 09:47:18.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=421] ["take time"=5.33189ms] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.941 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.947 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.947 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.951 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.953 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=421] [neededSchemaVersion=422] ["start time"=476.015ยตs] [gotSchemaVersion=422] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:18.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=422]
[2024/05/06 09:47:18.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=422] ["take time"=12.884935ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.968 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.975 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.975 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.975 +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 09:47:18.976 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:18.987 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.988 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:18.988 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.994 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.994 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:18.995 +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 09:47:18.996 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:18.997 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:18.997 +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 09:47:18.998 +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 09:47:19.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 09:47:19.008 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.008 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.009 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.027 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.036 +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 09:47:19.048 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.049 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.050 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.051 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.060 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.060 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.060 +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 09:47:19.076 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.076 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.077 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.077 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.084 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.084 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.084 +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 09:47:19.096 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.096 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.097 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.097 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.104 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.104 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.104 +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 09:47:19.174 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=160]
[2024/05/06 09:47:19.174 +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:160, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.175 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.175 +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:160, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.183 +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:160, ArgLen:0, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.183 +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:160, ArgLen:0, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.184 +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 09:47:19.184 +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"=82.045986ms]
[2024/05/06 09:47:19.184 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=222]
[2024/05/06 09:47:19.184 +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 09:47:19.185 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:19.223 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=422] [neededSchemaVersion=423] ["start time"=462.397ยตs] [gotSchemaVersion=423] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.227 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=423]
[2024/05/06 09:47:19.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=423] ["take time"=9.402719ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.237 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.244 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034204524544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.245 +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 09:47:19.252 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.255 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=423] [neededSchemaVersion=424] ["start time"=463.128ยตs] [gotSchemaVersion=424] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.256 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=424]
[2024/05/06 09:47:19.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=424] ["take time"=4.076029ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.259 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.271 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.271 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.271 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001dff]
[2024/05/06 09:47:19.275 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.276 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.276 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.284 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.284 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.286 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f69ffff00000000001d,EndKey:74800000000000006f5f69ffff00000000001dff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:19.286 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001d] ["end key"=74800000000000006f5f69ffff00000000001dff]
[2024/05/06 09:47:19.286 +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 09:47:19.287 +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 09:47:19.372 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:19.372 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.373 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.373 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.382 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.382 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.387 +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"=121.645ยตs]
[2024/05/06 09:47:19.387 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=222]
[2024/05/06 09:47:19.388 +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 09:47:19.388 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:19.427 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:19.427 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.430 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=424] [neededSchemaVersion=425] ["start time"=508.074ยตs] [gotSchemaVersion=425] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.432 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=425]
[2024/05/06 09:47:19.434 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=425] ["take time"=5.51759ms] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.436 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.447 +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 09:47:19.460 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="add index"]
[2024/05/06 09:47:19.460 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.469 +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 09:47:19.471 +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 09:47:18.861 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034281857025, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.476 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=222]
[2024/05/06 09:47:19.476 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:19.476 +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 09:47:19.479 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:19.479 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:19.485 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.485 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.490 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.493 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=425] [neededSchemaVersion=426] ["start time"=454.632ยตs] [gotSchemaVersion=426] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:19.494 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=426]
[2024/05/06 09:47:19.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=426] ["take time"=23.379488ms] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.519 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.525 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.525 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.526 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.528 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=426] [neededSchemaVersion=427] ["start time"=461.629ยตs] [gotSchemaVersion=427] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:19.531 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=427]
[2024/05/06 09:47:19.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=427] ["take time"=4.169742ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.534 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.539 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.539 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.540 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=427] [neededSchemaVersion=428] ["start time"=454.861ยตs] [gotSchemaVersion=428] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:19.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=428]
[2024/05/06 09:47:19.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=428] ["take time"=4.860656ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.548 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.562 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.562 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.562 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.565 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=428] [neededSchemaVersion=429] ["start time"=409.331ยตs] [gotSchemaVersion=429] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:19.566 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=429]
[2024/05/06 09:47:19.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=429] ["take time"=2.523047ms] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.568 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.573 +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 09:47:19.595 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop column"]
[2024/05/06 09:47:19.596 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.603 +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 09:47:19.478 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.607 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=223]
[2024/05/06 09:47:19.607 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:19.608 +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 09:47:19.638 +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 09:47:19.638 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:19.638 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"]
[2024/05/06 09:47:19.644 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.645 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.645 +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 09:47:19.626 +0000 UTC, Err:<nil>, 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 09:47:19.645 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=429] [neededSchemaVersion=430] ["start time"=439.771ยตs] [gotSchemaVersion=430] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:19.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=430]
[2024/05/06 09:47:19.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=430] ["take time"=2.705164ms] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.652 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.657 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.657 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.658 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=430] [neededSchemaVersion=431] ["start time"=419.172ยตs] [gotSchemaVersion=431] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:19.662 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=431]
[2024/05/06 09:47:19.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=431] ["take time"=2.014714ms] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.663 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.669 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.669 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.670 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.672 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=431] [neededSchemaVersion=432] ["start time"=432.289ยตs] [gotSchemaVersion=432] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:19.674 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=432]
[2024/05/06 09:47:19.676 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=432] ["take time"=4.321897ms] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.677 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.681 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.681 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.682 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.685 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=432] [neededSchemaVersion=433] ["start time"=428.878ยตs] [gotSchemaVersion=433] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:19.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=433]
[2024/05/06 09:47:19.688 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=433] ["take time"=4.010009ms] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.689 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.694 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.698 +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 09:47:19.626 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:19.699 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=224]
[2024/05/06 09:47:19.699 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:19.699 +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 09:47:19.704 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:19.704 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"]
[2024/05/06 09:47:19.724 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.724 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.724 +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 09:47:19.7 +0000 UTC, Err:<nil>, 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 09:47:19.724 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:19.725 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=433] [neededSchemaVersion=434] ["start time"=499.623ยตs] [gotSchemaVersion=434] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=434]
[2024/05/06 09:47: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=434] ["take time"=4.100699ms] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.740 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.768 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.768 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.769 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.771 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=434] [neededSchemaVersion=435] ["start time"=480.943ยตs] [gotSchemaVersion=435] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=435]
[2024/05/06 09:47:19.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=435] ["take time"=2.148537ms] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.774 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.792 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.792 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.793 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=435] [neededSchemaVersion=436] ["start time"=435.835ยตs] [gotSchemaVersion=436] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:19.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=436]
[2024/05/06 09:47:19.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=436] ["take time"=8.929004ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.805 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.812 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.812 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.812 +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 09:47:19.813 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:19.816 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.818 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.819 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.826 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.826 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.826 +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 09:47:19.828 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:19.829 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:19.842 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.842 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.843 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.843 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.829 +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 09:47:19.849 +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 09:47:19.850 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.850 +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:0, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.850 +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 09:47:19.863 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.863 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.864 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.865 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.871 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.871 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.871 +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 09:47:19.888 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.888 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.888 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.889 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.897 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.897 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.898 +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 09:47:19.910 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.911 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.913 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.914 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.924 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.924 +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:0, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.924 +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 09:47:19.937 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:19.937 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.938 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:19.938 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.994 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.994 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:19.994 +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 09:47:20.068 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=672]
[2024/05/06 09:47:20.068 +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:672, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.069 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.070 +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:672, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.075 +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:672, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.075 +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:672, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.076 +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 09:47:20.125 +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"=170.117787ms]
[2024/05/06 09:47:20.125 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=225]
[2024/05/06 09:47:20.125 +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 09:47:20.231 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1600]
[2024/05/06 09:47:20.231 +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:1600, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.236 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.237 +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:1600, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.251 +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:1600, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.251 +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:1600, ArgLen:0, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.252 +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 09:47:20.253 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:20.298 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.300 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=436] [neededSchemaVersion=437] ["start time"=506.609ยตs] [gotSchemaVersion=437] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:20.302 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=437]
[2024/05/06 09:47:20.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=437] ["take time"=4.15682ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.304 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.311 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.311 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034423676929, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.311 +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 09:47:20.312 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.315 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=437] [neededSchemaVersion=438] ["start time"=1.177808ms] [gotSchemaVersion=438] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:20.320 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=438]
[2024/05/06 09:47:20.322 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=438] ["take time"=9.039648ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.323 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.330 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.330 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.330 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001eff]
[2024/05/06 09:47:20.333 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.338 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.339 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.349 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.349 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.351 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f69ffff00000000001e,EndKey:74800000000000006f5f69ffff00000000001eff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:20.354 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001e] ["end key"=74800000000000006f5f69ffff00000000001eff]
[2024/05/06 09:47:20.354 +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 09:47:20.356 +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 09:47:20.437 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:20.438 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.438 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.439 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.447 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.447 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.530 +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"=201.253ยตs]
[2024/05/06 09:47:20.530 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=225]
[2024/05/06 09:47:20.530 +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 09:47:20.568 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:20.568 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.569 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.569 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.577 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.577 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.579 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:20.623 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:20.623 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.650 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=438] [neededSchemaVersion=439] ["start time"=24.990566ms] [gotSchemaVersion=439] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:20.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=439]
[2024/05/06 09:47:20.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=439] ["take time"=28.171932ms] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.654 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.661 +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 09:47:20.662 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="add index"]
[2024/05/06 09:47:20.662 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.669 +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 09:47:19.7 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574034559467521, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:20.671 +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 09:47:20.674 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=225]
[2024/05/06 09:47:20.674 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:20.674 +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 09:47:20.680 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.680 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"]
[2024/05/06 09:47:20.688 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.688 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.689 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.691 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=439] [neededSchemaVersion=440] ["start time"=427.47ยตs] [gotSchemaVersion=440] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:20.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=440]
[2024/05/06 09:47:20.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=440] ["take time"=6.179451ms] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.703 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.712 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.712 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.713 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.715 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=440] [neededSchemaVersion=441] ["start time"=421.027ยตs] [gotSchemaVersion=441] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:20.717 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=441]
[2024/05/06 09:47:20.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=441] ["take time"=4.028258ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.720 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.730 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.730 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.732 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.734 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=441] [neededSchemaVersion=442] ["start time"=460.232ยตs] [gotSchemaVersion=442] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:20.736 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=442]
[2024/05/06 09:47:20.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=442] ["take time"=2.039403ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.737 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.754 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.754 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.755 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=442] [neededSchemaVersion=443] ["start time"=417.099ยตs] [gotSchemaVersion=443] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:20.761 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=443]
[2024/05/06 09:47:20.764 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=443] ["take time"=5.217521ms] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.765 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.772 +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 09:47:20.773 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=226] [jobType="drop column"]
[2024/05/06 09:47:20.774 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.778 +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 09:47:20.679 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=226]
[2024/05/06 09:47:20.780 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:20.781 +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 09:47:20.794 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.794 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rebase (c1 bigint auto_increment primary key, c2 bigint);"]
[2024/05/06 09:47:20.795 +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 09:47:20.802 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.802 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.802 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=443] [neededSchemaVersion=444] ["start time"=198.288ยตs] [gotSchemaVersion=444] [phyTblIDs="[227]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:20.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=228] [version=444]
[2024/05/06 09:47: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=444] ["take time"=18.432553ms] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.823 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.830 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.847 +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 09:47:20.789 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=228]
[2024/05/06 09:47:20.849 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:20.849 +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 09:47:20.858 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.858 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 6000"]
[2024/05/06 09:47:20.878 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.882 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.884 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.886 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034703122432, conflictStartTS=449574034703122433, conflictCommitTS=449574034703646720, 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 09:47:20.886 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034703122432, conflictStartTS=449574034703122433, conflictCommitTS=449574034703646720, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:20.886 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574034703122432, conflictStartTS=449574034703122433, conflictCommitTS=449574034703646720, 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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.890 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.890 +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 09:47:20.851 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.890 +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 09:47:20.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:20.890 +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 09:47:20.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.890 +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 09:47:20.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.893 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=229]
[2024/05/06 09:47:20.893 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:20.893 +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 09:47:20.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.893 +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 09:47:20.893 +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 09:47:20.896 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.896 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 9000"]
[2024/05/06 09:47:20.910 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.910 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.911 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.913 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=444] [neededSchemaVersion=446] ["start time"=270.61ยตs] [gotSchemaVersion=446] [phyTblIDs="[227]"] [actionTypes="[13]"] [diffTypes="[\"rebase auto_increment ID\"]"]
[2024/05/06 09:47:20.915 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=230] [version=446]
[2024/05/06 09:47:20.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=446] ["take time"=4.53598ms] [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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.918 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.925 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.928 +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 09:47:20.894 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.929 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=230]
[2024/05/06 09:47:20.929 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:20.929 +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 09:47:20.937 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.937 +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 09:47:20.931 +0000 UTC, Err:<nil>, 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 09:47:20.963 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.963 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.964 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=446] [neededSchemaVersion=447] ["start time"=205.71ยตs] [gotSchemaVersion=447] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:20.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=232] [version=447]
[2024/05/06 09:47:20.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=447] ["take time"=2.531518ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.969 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.977 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.981 +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 09:47:20.931 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:20.982 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=232]
[2024/05/06 09:47:20.982 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:20.983 +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 09:47:20.985 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:20.985 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 5"]
[2024/05/06 09:47:21.007 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.009 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.010 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.011 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034736939008, conflictStartTS=449574034736939009, conflictCommitTS=449574034737201153, 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 09:47:21.011 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034736939008, conflictStartTS=449574034736939009, conflictCommitTS=449574034737201153, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.011 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574034736939008, conflictStartTS=449574034736939009, conflictCommitTS=449574034737201153, 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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.017 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.017 +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 09:47:20.984 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.017 +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 09:47:20.984 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:21.017 +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 09:47:20.984 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.018 +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 09:47:20.984 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.020 +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 09:47:20.984 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.020 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=233]
[2024/05/06 09:47:21.020 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.021 +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 09:47:21.021 +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 09:47:21.023 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:21.023 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 8"]
[2024/05/06 09:47:21.033 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.033 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.034 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.036 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=447] [neededSchemaVersion=449] ["start time"=249.281ยตs] [gotSchemaVersion=449] [phyTblIDs="[231]"] [actionTypes="[16]"] [diffTypes="[\"shard row ID\"]"]
[2024/05/06 09:47:21.037 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=234] [version=449]
[2024/05/06 09:47:21.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=449] ["take time"=2.02548ms] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.038 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.044 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.047 +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 09:47:21.022 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.048 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=234]
[2024/05/06 09:47:21.048 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:21.049 +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 09:47:21.052 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.052 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 mediumint"]
[2024/05/06 09:47:21.074 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.076 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.076 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.078 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034754502656, conflictStartTS=449574034754502657, conflictCommitTS=449574034754764800, 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 09:47:21.078 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034754502656, conflictStartTS=449574034754502657, conflictCommitTS=449574034754764800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.078 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574034754502656, conflictStartTS=449574034754502657, conflictCommitTS=449574034754764800, 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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.084 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.084 +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 09:47:21.05 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.085 +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 09:47:21.05 +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 09:47:21.085 +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 09:47:21.05 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.085 +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 09:47:21.05 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.088 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=235]
[2024/05/06 09:47:21.088 +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 09:47:21.05 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.088 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.088 +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 09:47:21.088 +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 09:47:21.099 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.099 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 int"]
[2024/05/06 09:47:21.131 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.131 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.133 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.137 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=449] [neededSchemaVersion=451] ["start time"=430.816ยตs] [gotSchemaVersion=451] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.138 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=236] [version=451]
[2024/05/06 09:47:21.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=451] ["take time"=2.243319ms] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.139 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.152 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=236] [jobType="modify column"]
[2024/05/06 09:47:21.152 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.156 +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 09:47:21.09 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.159 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=236]
[2024/05/06 09:47:21.159 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:21.160 +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 09:47:21.163 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:21.163 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column mayNullCol bigint default 1"]
[2024/05/06 09:47:21.171 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.171 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.172 +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 09:47:21.161 +0000 UTC, Err:<nil>, 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 09:47:21.177 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.179 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=451] [neededSchemaVersion=452] ["start time"=462.431ยตs] [gotSchemaVersion=452] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:21.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=452]
[2024/05/06 09:47:21.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=452] ["take time"=2.052534ms] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.181 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.187 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.187 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.193 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=452] [neededSchemaVersion=453] ["start time"=454.813ยตs] [gotSchemaVersion=453] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:21.197 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=453]
[2024/05/06 09:47:21.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=453] ["take time"=15.909091ms] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.215 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.220 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.220 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.222 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=453] [neededSchemaVersion=454] ["start time"=401.037ยตs] [gotSchemaVersion=454] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:21.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=454]
[2024/05/06 09:47:21.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=454] ["take time"=2.758353ms] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.229 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.235 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.235 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.241 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.247 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=454] [neededSchemaVersion=455] ["start time"=458.666ยตs] [gotSchemaVersion=455] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:21.248 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=455]
[2024/05/06 09:47:21.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=455] ["take time"=12.655273ms] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.260 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.266 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.269 +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 09:47:21.161 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:21.270 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=237]
[2024/05/06 09:47:21.271 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:21.271 +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 09:47:21.279 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.279 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"]
[2024/05/06 09:47:21.290 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.293 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.299 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.300 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034811125761, conflictStartTS=449574034811125762, conflictCommitTS=449574034811912192, 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 09:47:21.301 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034811125761, conflictStartTS=449574034811125762, conflictCommitTS=449574034811912192, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.301 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574034811125761, conflictStartTS=449574034811125762, conflictCommitTS=449574034811912192, 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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.333 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.333 +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 09:47:21.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.333 +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 09:47:21.278 +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 09:47:21.333 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.345 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238]
[2024/05/06 09:47:21.346 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.354 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.354 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.355 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.358 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=455] [neededSchemaVersion=457] ["start time"=432.122ยตs] [gotSchemaVersion=457] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=238] [version=457]
[2024/05/06 09:47:21.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=457] ["take time"=2.963431ms] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.364 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.368 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=238] [jobType="modify column"]
[2024/05/06 09:47:21.369 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.371 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238]
[2024/05/06 09:47:21.372 +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 09:47:21.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.374 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=238]
[2024/05/06 09:47:21.374 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.375 +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 09:47:21.375 +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 09:47:21.384 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.384 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"]
[2024/05/06 09:47:21.393 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.393 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.401 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.414 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=457] [neededSchemaVersion=458] ["start time"=476.872ยตs] [gotSchemaVersion=458] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.415 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=458]
[2024/05/06 09:47:21.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=458] ["take time"=7.218321ms] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.421 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.427 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.427 +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 09:47:21.383 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.427 +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 09:47:21.383 +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 09:47:21.427 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.429 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239]
[2024/05/06 09:47:21.429 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.433 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.433 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.434 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=458] [neededSchemaVersion=459] ["start time"=419.064ยตs] [gotSchemaVersion=459] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.439 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=459]
[2024/05/06 09:47:21.441 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=459] ["take time"=4.93517ms] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.451 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.459 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=239] [jobType="modify column"]
[2024/05/06 09:47:21.460 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.462 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239]
[2024/05/06 09:47:21.463 +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 09:47:21.383 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.468 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=239]
[2024/05/06 09:47:21.468 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.468 +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 09:47:21.468 +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 09:47:21.493 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.493 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"]
[2024/05/06 09:47:21.501 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.501 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.509 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=459] [neededSchemaVersion=460] ["start time"=481.454ยตs] [gotSchemaVersion=460] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=460]
[2024/05/06 09:47:21.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=460] ["take time"=4.455481ms] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.516 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.522 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.522 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.529 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.531 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=460] [neededSchemaVersion=461] ["start time"=421.937ยตs] [gotSchemaVersion=461] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.533 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=461]
[2024/05/06 09:47:21.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=461] ["take time"=2.469075ms] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.543 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.551 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="modify column"]
[2024/05/06 09:47:21.551 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.555 +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 09:47:21.491 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.560 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=240]
[2024/05/06 09:47:21.560 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:21.560 +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 09:47:21.563 +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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.563 +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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:21.574 +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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.577 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, 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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.578 +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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.580 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034885574657, conflictStartTS=449574034885836800, conflictCommitTS=449574034886098944, 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 09:47:21.580 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034885574657, conflictStartTS=449574034885836800, conflictCommitTS=449574034886098944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.580 +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=449574034885574657, conflictStartTS=449574034885836800, conflictCommitTS=449574034886098944, 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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.599 +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 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.599 +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:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.562 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.599 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:21.562 +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 09:47:21.599 +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 09:47:21.562 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.599 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, 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 09:47:21.562 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.603 +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 09:47:21.562 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.603 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=241]
[2024/05/06 09:47:21.604 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.604 +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 09:47:21.604 +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 09:47:21.608 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.608 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:21.630 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.630 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.631 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=461] [neededSchemaVersion=463] ["start time"=483.783ยตs] [gotSchemaVersion=463] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.635 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=463]
[2024/05/06 09:47:21.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=463] ["take time"=4.569894ms] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.638 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.645 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, 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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.648 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.649 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034904186880, conflictStartTS=449574034904186881, conflictCommitTS=449574034904711168, 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 09:47:21.649 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034904186880, conflictStartTS=449574034904186881, conflictCommitTS=449574034904711168, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.650 +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=449574034904186880, conflictStartTS=449574034904186881, conflictCommitTS=449574034904711168, 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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.657 +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 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.657 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.605 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.658 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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 09:47:21.605 +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 09:47:21.658 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.659 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242]
[2024/05/06 09:47:21.659 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.666 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.666 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.667 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.669 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=463] [neededSchemaVersion=465] ["start time"=452.981ยตs] [gotSchemaVersion=465] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.670 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=465]
[2024/05/06 09:47:21.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=465] ["take time"=3.080235ms] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.672 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.680 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=242] [jobType="modify column"]
[2024/05/06 09:47:21.681 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.689 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242]
[2024/05/06 09:47:21.689 +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 09:47:21.605 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.692 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=242]
[2024/05/06 09:47:21.692 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.692 +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 09:47:21.692 +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 09:47:21.695 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.695 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:21.703 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.703 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.704 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.707 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=465] [neededSchemaVersion=466] ["start time"=1.051319ms] [gotSchemaVersion=466] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.709 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=466]
[2024/05/06 09:47:21.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=466] ["take time"=6.118029ms] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.716 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.733 +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 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.733 +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:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.694 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.733 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, 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 09:47:21.694 +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 09:47:21.733 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.735 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243]
[2024/05/06 09:47:21.735 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.754 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.754 +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:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.755 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=466] [neededSchemaVersion=467] ["start time"=492.486ยตs] [gotSchemaVersion=467] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=467]
[2024/05/06 09:47:21.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=467] ["take time"=6.935816ms] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.765 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="modify column"]
[2024/05/06 09:47:21.772 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.775 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243]
[2024/05/06 09:47:21.777 +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 09:47:21.694 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.778 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=243]
[2024/05/06 09:47:21.778 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.778 +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 09:47:21.779 +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 09:47:21.783 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.783 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:21.792 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.792 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.793 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=467] [neededSchemaVersion=468] ["start time"=484.113ยตs] [gotSchemaVersion=468] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=468]
[2024/05/06 09:47:21.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=468] ["take time"=2.074382ms] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.797 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.803 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.803 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.808 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.810 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=468] [neededSchemaVersion=469] ["start time"=449.977ยตs] [gotSchemaVersion=469] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.812 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=469]
[2024/05/06 09:47:21.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=469] ["take time"=6.979325ms] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.820 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.827 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.829 +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:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.830 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.831 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574034951897088, conflictStartTS=449574034951897089, conflictCommitTS=449574034952159232, 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 09:47:21.831 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574034951897088, conflictStartTS=449574034951897089, conflictCommitTS=449574034952159232, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:21.831 +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=449574034951897088, conflictStartTS=449574034951897089, conflictCommitTS=449574034952159232, 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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.838 +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 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.838 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.839 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:21.78 +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 09:47:21.839 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.840 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244]
[2024/05/06 09:47:21.840 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.846 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.846 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, 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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.847 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.850 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=469] [neededSchemaVersion=471] ["start time"=489.947ยตs] [gotSchemaVersion=471] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.852 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=471]
[2024/05/06 09:47:21.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=471] ["take time"=10.537607ms] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.861 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.868 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="modify column"]
[2024/05/06 09:47:21.868 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.872 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244]
[2024/05/06 09:47:21.875 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=244]
[2024/05/06 09:47:21.876 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.876 +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 09:47:21.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.876 +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 09:47:21.888 +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 09:47:21.898 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:21.898 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:21.907 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.907 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, 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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.907 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.909 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=471] [neededSchemaVersion=472] ["start time"=452.588ยตs] [gotSchemaVersion=472] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=472]
[2024/05/06 09:47:21.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=472] ["take time"=2.017696ms] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.911 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.918 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.918 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.919 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=472] [neededSchemaVersion=473] ["start time"=459.204ยตs] [gotSchemaVersion=473] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=473]
[2024/05/06 09:47:21.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=473] ["take time"=5.630607ms] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.927 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.941 +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 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.941 +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:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.889 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.942 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:21.889 +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 09:47:21.942 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.943 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245]
[2024/05/06 09:47:21.944 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.952 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, 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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.953 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=473] [neededSchemaVersion=474] ["start time"=460.662ยตs] [gotSchemaVersion=474] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:21.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=474]
[2024/05/06 09:47:21.958 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=474] ["take time"=2.158812ms] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.959 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.977 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=245] [jobType="modify column"]
[2024/05/06 09:47:21.981 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.992 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245]
[2024/05/06 09:47:21.993 +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 09:47:21.889 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:21.996 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=245]
[2024/05/06 09:47:21.996 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:21.996 +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 09:47:21.996 +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 09:47:22.001 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:22.002 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:22.012 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.012 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.019 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.052 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=474] [neededSchemaVersion=475] ["start time"=474.233ยตs] [gotSchemaVersion=475] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.055 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=475]
[2024/05/06 09:47:22.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=475] ["take time"=4.010284ms] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.059 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.065 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.065 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.066 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.068 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=475] [neededSchemaVersion=476] ["start time"=472.384ยตs] [gotSchemaVersion=476] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.070 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=476]
[2024/05/06 09:47:22.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=476] ["take time"=6.247826ms] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.084 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.092 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.092 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.093 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=476] [neededSchemaVersion=477] ["start time"=472.911ยตs] [gotSchemaVersion=477] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=477]
[2024/05/06 09:47:22.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=477] ["take time"=2.12577ms] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.099 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.105 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.108 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.109 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=246] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:22.112 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035025559552, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.113 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035024773120, conflictStartTS=449574035025035264, conflictCommitTS=449574035025297408, 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 09:47:22.113 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035024773120, conflictStartTS=449574035025035264, conflictCommitTS=449574035025297408, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:22.113 +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=449574035024773120, conflictStartTS=449574035025035264, conflictCommitTS=449574035025297408, 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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035025559552, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.119 +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 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.119 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.120 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, 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 09:47:21.998 +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 09:47:22.120 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.122 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246]
[2024/05/06 09:47:22.123 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.130 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.130 +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:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.131 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.134 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=477] [neededSchemaVersion=478] ["start time"=500.788ยตs] [gotSchemaVersion=478] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.138 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=478]
[2024/05/06 09:47:22.139 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=478] ["take time"=5.749686ms] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.139 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.148 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=246] [jobType="modify column"]
[2024/05/06 09:47:22.149 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.152 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246]
[2024/05/06 09:47:22.152 +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 09:47:21.998 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.156 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=246]
[2024/05/06 09:47:22.156 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:22.157 +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 09:47:22.157 +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 09:47:22.159 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:22.159 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:22.168 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.168 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.169 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.172 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=478] [neededSchemaVersion=479] ["start time"=467.03ยตs] [gotSchemaVersion=479] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.173 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=479]
[2024/05/06 09:47:22.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=479] ["take time"=14.041099ms] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.186 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.195 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.195 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.197 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.200 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=479] [neededSchemaVersion=480] ["start time"=451.845ยตs] [gotSchemaVersion=480] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.201 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=480]
[2024/05/06 09:47:22.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=480] ["take time"=2.056ms] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.202 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.216 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.216 +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:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.218 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=480] [neededSchemaVersion=481] ["start time"=494.101ยตs] [gotSchemaVersion=481] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.227 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=481]
[2024/05/06 09:47:22.237 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=481] ["take time"=12.974418ms] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.238 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.247 +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 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.247 +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:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.247 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, 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 09:47:22.158 +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 09:47:22.247 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.248 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247]
[2024/05/06 09:47:22.249 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.257 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.257 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, 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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.258 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.260 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=481] [neededSchemaVersion=482] ["start time"=427.454ยตs] [gotSchemaVersion=482] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=482]
[2024/05/06 09:47:22.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=482] ["take time"=28.135288ms] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.289 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.295 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="modify column"]
[2024/05/06 09:47:22.296 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.303 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247]
[2024/05/06 09:47:22.304 +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 09:47:22.158 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.308 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=247]
[2024/05/06 09:47:22.308 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:22.309 +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 09:47:22.309 +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 09:47:22.312 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:22.312 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"]
[2024/05/06 09:47:22.320 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.320 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.322 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=482] [neededSchemaVersion=483] ["start time"=455.677ยตs] [gotSchemaVersion=483] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=483]
[2024/05/06 09:47:22.326 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=483] ["take time"=2.006627ms] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.327 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.334 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.334 +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:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.335 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.351 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=483] [neededSchemaVersion=484] ["start time"=10.470505ms] [gotSchemaVersion=484] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.354 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=484]
[2024/05/06 09:47:22.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=484] ["take time"=14.042499ms] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.384 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.399 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.400 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.405 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=484] [neededSchemaVersion=485] ["start time"=622.619ยตs] [gotSchemaVersion=485] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=485]
[2024/05/06 09:47:22.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=485] ["take time"=5.103525ms] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.420 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.429 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.430 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.431 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=248] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:22.434 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.437 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248]
[2024/05/06 09:47:22.438 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.460 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.460 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.469 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:22.471 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:22.471 +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 09:47:22.471 +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 09:47:22.549 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:22.549 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.549 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248]
[2024/05/06 09:47:22.550 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.587 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.587 +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:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.638 +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"=63.393325ms]
[2024/05/06 09:47:22.638 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=248]
[2024/05/06 09:47:22.638 +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 09:47:22.655 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=736]
[2024/05/06 09:47:22.655 +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:736, ArgLen:8, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.657 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248]
[2024/05/06 09:47:22.657 +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:736, ArgLen:8, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.665 +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:736, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.665 +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:736, ArgLen:0, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.669 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:22.711 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=485] [neededSchemaVersion=486] ["start time"=432.606ยตs] [gotSchemaVersion=486] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"]
[2024/05/06 09:47:22.715 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=486]
[2024/05/06 09:47:22.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=486] ["take time"=5.335797ms] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.719 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.735 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=248] [jobType="modify column"]
[2024/05/06 09:47:22.735 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, 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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.739 +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 09:47:22.31 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574035109969920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:22.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=248]
[2024/05/06 09:47:22.742 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:22.743 +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 09:47:22.749 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:22.749 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_ref (c1 int key, c2 int, c3 int, c11 tinyint);"]
[2024/05/06 09:47:22.757 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.757 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.758 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.764 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=486] [neededSchemaVersion=487] ["start time"=298.66ยตs] [gotSchemaVersion=487] [phyTblIDs="[249]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:22.766 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=250] [version=487]
[2024/05/06 09:47:22.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=487] ["take time"=4.275181ms] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.769 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.794 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.798 +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 09:47:22.744 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.798 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=250]
[2024/05/06 09:47:22.798 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:22.799 +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 09:47:22.808 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:22.808 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"]
[2024/05/06 09:47:22.824 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.826 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.826 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.828 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035213254656, conflictStartTS=449574035213254657, conflictCommitTS=449574035213516800, 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 09:47:22.828 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035213254656, conflictStartTS=449574035213254657, conflictCommitTS=449574035213516800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:22.828 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035213254656, conflictStartTS=449574035213254657, conflictCommitTS=449574035213516800, 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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.831 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.831 +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 09:47:22.8 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.831 +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 09:47:22.8 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:22.832 +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 09:47:22.8 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.832 +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 09:47:22.8 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.835 +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 09:47:22.8 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.835 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=251]
[2024/05/06 09:47:22.835 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:22.835 +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 09:47:22.878 +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 09:47:22.889 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:22.889 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"]
[2024/05/06 09:47:22.911 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.911 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.914 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=487] [neededSchemaVersion=489] ["start time"=475.92ยตs] [gotSchemaVersion=489] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"]
[2024/05/06 09:47:22.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=489]
[2024/05/06 09:47:22.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=489] ["take time"=2.409415ms] [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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.920 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.924 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.924 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.959 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=489] [neededSchemaVersion=490] ["start time"=498.403ยตs] [gotSchemaVersion=490] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"]
[2024/05/06 09:47:22.963 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=490]
[2024/05/06 09:47:22.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=490] ["take time"=14.42874ms] [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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.976 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.980 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.980 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.987 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:22.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=490] [neededSchemaVersion=491] ["start time"=501.369ยตs] [gotSchemaVersion=491] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"]
[2024/05/06 09:47:22.993 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=491]
[2024/05/06 09:47:23.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=491] ["take time"=10.953222ms] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.002 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.009 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.013 +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 09:47:22.881 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.013 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=252]
[2024/05/06 09:47:23.013 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.014 +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 09:47:23.027 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.027 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"]
[2024/05/06 09:47:23.037 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.041 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.048 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.050 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035269091328, conflictStartTS=449574035269353472, conflictCommitTS=449574035269615616, 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 09:47:23.050 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035269091328, conflictStartTS=449574035269353472, conflictCommitTS=449574035269615616, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.050 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035269091328, conflictStartTS=449574035269353472, conflictCommitTS=449574035269615616, 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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.056 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.056 +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 09:47:23.015 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.056 +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 09:47:23.015 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.056 +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 09:47:23.015 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.056 +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 09:47:23.015 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.060 +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 09:47:23.015 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.063 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=253]
[2024/05/06 09:47:23.063 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.063 +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 09:47:23.063 +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 09:47:23.068 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.068 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"]
[2024/05/06 09:47:23.077 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.077 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.096 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=491] [neededSchemaVersion=492] ["start time"=44.5ยตs] [gotSchemaVersion=491] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:23.099 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=491] [neededSchemaVersion=493] ["start time"=488.079ยตs] [gotSchemaVersion=493] [phyTblIDs="[111]"] [actionTypes="[10]"] [diffTypes="[\"drop foreign key\"]"]
[2024/05/06 09:47:23.101 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=254] [version=493]
[2024/05/06 09:47: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=493] ["take time"=10.824861ms] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.110 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.125 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.129 +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 09:47:23.064 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.129 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=254]
[2024/05/06 09:47:23.129 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.130 +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 09:47:23.135 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.137 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename1 (c1 bigint , c2 bigint);"]
[2024/05/06 09:47:23.169 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.169 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.173 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.175 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=493] [neededSchemaVersion=494] ["start time"=236.18ยตs] [gotSchemaVersion=494] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:23.177 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=256] [version=494]
[2024/05/06 09:47: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=494] ["take time"=5.976298ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.182 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.188 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.191 +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 09:47:23.131 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.192 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=256]
[2024/05/06 09:47:23.192 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.192 +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 09:47:23.195 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.195 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename2 (c1 bigint , c2 bigint);"]
[2024/05/06 09:47:23.213 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.213 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.216 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.218 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=494] [neededSchemaVersion=495] ["start time"=212.633ยตs] [gotSchemaVersion=495] [phyTblIDs="[257]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:23.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=258] [version=495]
[2024/05/06 09:47:23.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=495] ["take time"=2.01253ms] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.220 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.231 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.237 +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 09:47:23.194 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.237 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=258]
[2024/05/06 09:47:23.237 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.237 +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 09:47:23.242 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.242 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"]
[2024/05/06 09:47:23.251 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.253 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.253 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.255 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035325190144, conflictStartTS=449574035325190145, conflictCommitTS=449574035325452288, 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 09:47:23.255 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035325190144, conflictStartTS=449574035325190145, conflictCommitTS=449574035325452288, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.255 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035325190144, conflictStartTS=449574035325190145, conflictCommitTS=449574035325452288, 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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.261 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.261 +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 09:47:23.239 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.261 +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 09:47:23.239 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.261 +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 09:47:23.239 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.262 +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 09:47:23.239 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.264 +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 09:47:23.239 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.265 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=259]
[2024/05/06 09:47:23.265 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.265 +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 09:47:23.265 +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 09:47:23.268 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.268 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"]
[2024/05/06 09:47:23.279 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.279 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.280 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.282 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=495] [neededSchemaVersion=497] ["start time"=263.698ยตs] [gotSchemaVersion=497] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"]
[2024/05/06 09:47:23.284 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=497]
[2024/05/06 09:47:23.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=497] ["take time"=4.737002ms] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.288 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.303 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.303 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.308 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=497] [neededSchemaVersion=498] ["start time"=261.744ยตs] [gotSchemaVersion=498] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"]
[2024/05/06 09:47:23.319 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=498]
[2024/05/06 09:47:23.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=498] ["take time"=5.979584ms] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.324 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.331 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.338 +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 09:47:23.266 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.338 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=260]
[2024/05/06 09:47:23.338 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.339 +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 09:47:23.341 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.341 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"]
[2024/05/06 09:47:23.351 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.354 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.355 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.356 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035351404544, conflictStartTS=449574035351404545, conflictCommitTS=449574035351666688, 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 09:47:23.356 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035351404544, conflictStartTS=449574035351404545, conflictCommitTS=449574035351666688, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.356 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035351404544, conflictStartTS=449574035351404545, conflictCommitTS=449574035351666688, 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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.359 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.359 +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 09:47:23.34 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.359 +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 09:47:23.34 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.359 +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 09:47:23.34 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.360 +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 09:47:23.34 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.362 +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 09:47:23.34 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.363 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=261]
[2024/05/06 09:47:23.363 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.363 +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 09:47:23.363 +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 09:47:23.366 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.366 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"]
[2024/05/06 09:47:23.377 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.377 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.381 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.382 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=498] [neededSchemaVersion=499] ["start time"=43.614ยตs] [gotSchemaVersion=498] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:23.386 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=498] [neededSchemaVersion=500] ["start time"=406.832ยตs] [gotSchemaVersion=500] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:47:23.388 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=500]
[2024/05/06 09:47:23.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=500] ["take time"=13.375309ms] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.400 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.407 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.407 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.408 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.411 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=500] [neededSchemaVersion=501] ["start time"=365.312ยตs] [gotSchemaVersion=501] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"]
[2024/05/06 09:47:23.412 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=501]
[2024/05/06 09:47:23.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=501] ["take time"=6.895978ms] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.418 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.424 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.428 +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 09:47:23.365 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.428 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=262]
[2024/05/06 09:47:23.428 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.429 +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 09:47:23.431 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.431 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_cs(a varchar(10)) charset utf8"]
[2024/05/06 09:47:23.441 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.441 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.442 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=501] [neededSchemaVersion=502] ["start time"=223.48ยตs] [gotSchemaVersion=502] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/06 09:47:23.445 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=264] [version=502]
[2024/05/06 09:47:23.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=502] ["take time"=3.880155ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.452 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.458 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.461 +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 09:47:23.43 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.461 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=264]
[2024/05/06 09:47:23.461 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.462 +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 09:47:23.464 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.464 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"]
[2024/05/06 09:47:23.475 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.481 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.482 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.484 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035383910400, conflictStartTS=449574035383910401, conflictCommitTS=449574035384172544, 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 09:47:23.484 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035383910400, conflictStartTS=449574035383910401, conflictCommitTS=449574035384172544, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.484 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035383910400, conflictStartTS=449574035383910401, conflictCommitTS=449574035384172544, 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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.490 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.490 +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 09:47:23.463 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.491 +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 09:47:23.463 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.491 +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 09:47:23.463 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.491 +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 09:47:23.463 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.494 +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 09:47:23.463 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.495 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=265]
[2024/05/06 09:47:23.495 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.495 +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 09:47:23.495 +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 09:47:23.508 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.508 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"]
[2024/05/06 09:47:23.516 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.516 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.517 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=502] [neededSchemaVersion=504] ["start time"=212.003ยตs] [gotSchemaVersion=504] [phyTblIDs="[263]"] [actionTypes="[22]"] [diffTypes="[\"modify table charset and collate\"]"]
[2024/05/06 09:47:23.520 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=266] [version=504]
[2024/05/06 09:47:23.521 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=504] ["take time"=2.764823ms] [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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.522 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.528 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.532 +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 09:47:23.496 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.532 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=266]
[2024/05/06 09:47:23.532 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.533 +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 09:47:23.535 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.535 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database db_coll default charset utf8 collate utf8_bin"]
[2024/05/06 09:47:23.544 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.544 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.552 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=504] [neededSchemaVersion=505] ["start time"=75.173ยตs] [gotSchemaVersion=505] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/06 09:47:23.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=268] [version=505]
[2024/05/06 09:47:23.561 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=505] ["take time"=7.130988ms] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.566 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.571 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.574 +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 09:47:23.535 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.576 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=268]
[2024/05/06 09:47:23.576 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.579 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.579 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"]
[2024/05/06 09:47:23.589 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.595 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.596 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.597 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035413794817, conflictStartTS=449574035414056960, conflictCommitTS=449574035414319104, 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 09:47:23.597 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035413794817, conflictStartTS=449574035414056960, conflictCommitTS=449574035414319104, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.597 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035413794817, conflictStartTS=449574035414056960, conflictCommitTS=449574035414319104, 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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.604 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.604 +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 09:47:23.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.604 +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 09:47:23.578 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.604 +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 09:47:23.578 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.604 +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 09:47:23.578 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.607 +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 09:47:23.578 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.609 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=269]
[2024/05/06 09:47:23.609 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.610 +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 09:47:23.613 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.613 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"]
[2024/05/06 09:47:23.627 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.627 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.627 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.631 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=505] [neededSchemaVersion=507] ["start time"=98.934ยตs] [gotSchemaVersion=507] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"]
[2024/05/06 09:47:23.637 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=270] [version=507]
[2024/05/06 09:47:23.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=507] ["take time"=6.011666ms] [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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.643 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.649 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.654 +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 09:47:23.612 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=270]
[2024/05/06 09:47:23.656 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.657 +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 09:47:23.660 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.660 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.676 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.679 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.683 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.684 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035436601344, conflictStartTS=449574035436601345, conflictCommitTS=449574035437125632, 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 09:47:23.684 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035436601344, conflictStartTS=449574035436601345, conflictCommitTS=449574035437125632, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:23.684 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035436601344, conflictStartTS=449574035436601345, conflictCommitTS=449574035437125632, 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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.689 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.689 +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 09:47:23.659 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.689 +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 09:47:23.659 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"]
[2024/05/06 09:47:23.689 +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 09:47:23.659 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.690 +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 09:47:23.659 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.703 +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 09:47:23.659 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.705 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=272]
[2024/05/06 09:47:23.705 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:23.705 +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 09:47:23.705 +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 09:47:23.709 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.709 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.716 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.716 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.719 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.729 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=507] [neededSchemaVersion=509] ["start time"=8.466189ms] [gotSchemaVersion=509] [phyTblIDs="[108]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:23.732 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=274] [version=509]
[2024/05/06 09:47:23.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=509] ["take time"=12.455533ms] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.734 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.746 +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 09:47:23.747 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate partition"]
[2024/05/06 09:47:23.747 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.750 +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 09:47:23.708 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.758 +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 09:47:23.758 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=274]
[2024/05/06 09:47:23.758 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.759 +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 09:47:23.762 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.762 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.771 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.771 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.779 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.791 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=509] [neededSchemaVersion=510] ["start time"=8.230024ms] [gotSchemaVersion=510] [phyTblIDs="[273]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:23.809 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=276] [version=510]
[2024/05/06 09:47:23.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=510] ["take time"=29.49448ms] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.812 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.818 +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 09:47:23.819 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate partition"]
[2024/05/06 09:47:23.819 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.824 +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 09:47:23.825 +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 09:47:23.761 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.841 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=276]
[2024/05/06 09:47:23.841 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.842 +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 09:47:23.845 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.845 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.852 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.852 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.853 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.864 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=510] [neededSchemaVersion=511] ["start time"=8.407893ms] [gotSchemaVersion=511] [phyTblIDs="[275]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:23.865 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=278] [version=511]
[2024/05/06 09:47:23.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=511] ["take time"=15.910758ms] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.872 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.878 +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 09:47:23.879 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="truncate partition"]
[2024/05/06 09:47:23.879 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.882 +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 09:47:23.844 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.888 +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 09:47:23.889 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=278]
[2024/05/06 09:47:23.889 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.889 +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 09:47:23.892 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.892 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.901 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.901 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.902 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.912 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=511] [neededSchemaVersion=512] ["start time"=7.924909ms] [gotSchemaVersion=512] [phyTblIDs="[277]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:23.914 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=280] [version=512]
[2024/05/06 09:47:23.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=512] ["take time"=13.845316ms] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.919 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.933 +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 09:47:23.936 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=280] [jobType="truncate partition"]
[2024/05/06 09:47:23.937 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.950 +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 09:47:23.891 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.955 +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 09:47:23.958 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=280]
[2024/05/06 09:47:23.958 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:23.958 +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 09:47:23.961 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:23.961 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:23.973 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.973 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.974 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.984 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=512] [neededSchemaVersion=513] ["start time"=8.637194ms] [gotSchemaVersion=513] [phyTblIDs="[279]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:23.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=282] [version=513]
[2024/05/06 09:47:23.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=513] ["take time"=14.334752ms] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.991 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:23.997 +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 09:47:23.998 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="truncate partition"]
[2024/05/06 09:47:23.998 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.001 +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 09:47:23.96 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.003 +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 09:47:24.004 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=282]
[2024/05/06 09:47:24.004 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:24.004 +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 09:47:24.007 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:47:24.007 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"]
[2024/05/06 09:47:24.015 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.015 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.016 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=513] [neededSchemaVersion=514] ["start time"=7.964764ms] [gotSchemaVersion=514] [phyTblIDs="[281]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"]
[2024/05/06 09:47:24.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=284] [version=514]
[2024/05/06 09:47:24.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=514] ["take time"=10.05253ms] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.030 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.039 +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 09:47:24.040 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="truncate partition"]
[2024/05/06 09:47:24.040 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.048 +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 09:47:24.006 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:47:24.050 +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 09:47:24.051 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=284]
[2024/05/06 09:47:24.051 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:24.052 +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 09:47:24.054 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.054 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.062 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.067 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.067 +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 09:47:24.053 +0000 UTC, Err:<nil>, 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 09:47:24.069 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.070 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035537788928, conflictStartTS=449574035537788930, conflictCommitTS=449574035538313216, 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 09:47:24.070 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035537788928, conflictStartTS=449574035537788930, conflictCommitTS=449574035538313216, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:24.070 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035537788928, conflictStartTS=449574035537788930, conflictCommitTS=449574035538313216, 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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.076 +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 09:47:24.053 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.076 +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 09:47:24.053 +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 09:47:24.076 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.091 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285]
[2024/05/06 09:47:24.092 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.110 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.110 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.112 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285]
[2024/05/06 09:47:24.113 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.117 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.127 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285]
[2024/05/06 09:47:24.128 +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 09:47:24.053 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.128 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=285]
[2024/05/06 09:47:24.128 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.128 +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 09:47:24.129 +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 09:47:24.137 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.137 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.147 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.147 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.147 +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 09:47:24.13 +0000 UTC, Err:<nil>, 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 09:47:24.148 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.150 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=514] [neededSchemaVersion=516] ["start time"=336.147ยตs] [gotSchemaVersion=516] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.151 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=516]
[2024/05/06 09:47:24.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=516] ["take time"=19.791081ms] [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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.170 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.177 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.181 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.182 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.184 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035567935488, conflictStartTS=449574035567935489, conflictCommitTS=449574035568197634, 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 09:47:24.184 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035567935488, conflictStartTS=449574035567935489, conflictCommitTS=449574035568197634, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:24.184 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035567935488, conflictStartTS=449574035567935489, conflictCommitTS=449574035568197634, 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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.192 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.192 +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 09:47:24.13 +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 09:47:24.192 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.203 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286]
[2024/05/06 09:47:24.204 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.210 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.210 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.211 +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 09:47:24.13 +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 09:47:24.211 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.214 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286]
[2024/05/06 09:47:24.215 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.220 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.220 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.223 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.226 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=516] [neededSchemaVersion=518] ["start time"=472.179ยตs] [gotSchemaVersion=518] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.228 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=518]
[2024/05/06 09:47:24.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=518] ["take time"=2.602006ms] [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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.229 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.241 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.242 +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 09:47:24.13 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.242 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=518] [neededSchemaVersion=519] ["start time"=468.004ยตs] [gotSchemaVersion=519] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=519]
[2024/05/06 09:47:24.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=519] ["take time"=4.628803ms] [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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.252 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.263 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.263 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.265 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286]
[2024/05/06 09:47:24.265 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.273 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.276 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286]
[2024/05/06 09:47:24.276 +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 09:47:24.13 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.276 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=286]
[2024/05/06 09:47:24.277 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.277 +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 09:47:24.277 +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 09:47:24.280 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.280 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.294 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.294 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.295 +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 09:47:24.278 +0000 UTC, Err:<nil>, 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 09:47:24.296 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.301 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=519] [neededSchemaVersion=520] ["start time"=484.697ยตs] [gotSchemaVersion=520] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.303 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=520]
[2024/05/06 09:47:24.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=520] ["take time"=4.915289ms] [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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.311 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.329 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.329 +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 09:47:24.278 +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 09:47:24.329 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.332 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287]
[2024/05/06 09:47:24.333 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.339 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.339 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.339 +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 09:47:24.278 +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 09:47:24.339 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.341 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287]
[2024/05/06 09:47:24.341 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.345 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.345 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.346 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.348 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=520] [neededSchemaVersion=521] ["start time"=465.227ยตs] [gotSchemaVersion=521] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=521]
[2024/05/06 09:47:24.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=521] ["take time"=4.927958ms] [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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.355 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.360 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.360 +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 09:47:24.278 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.361 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.366 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=521] [neededSchemaVersion=522] ["start time"=448.681ยตs] [gotSchemaVersion=522] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.368 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=522]
[2024/05/06 09:47:24.371 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=522] ["take time"=4.862508ms] [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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.379 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.396 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.396 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.398 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287]
[2024/05/06 09:47:24.399 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.409 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.413 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287]
[2024/05/06 09:47:24.413 +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 09:47:24.278 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.414 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=287]
[2024/05/06 09:47:24.414 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.414 +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 09:47:24.414 +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 09:47:24.421 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.421 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.435 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.436 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.436 +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 09:47:24.416 +0000 UTC, Err:<nil>, 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 09:47:24.448 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=522] [neededSchemaVersion=523] ["start time"=493.177ยตs] [gotSchemaVersion=523] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=523]
[2024/05/06 09:47:24.471 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=523] ["take time"=21.430756ms] [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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.478 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.488 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.488 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.492 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=523] [neededSchemaVersion=524] ["start time"=535.227ยตs] [gotSchemaVersion=524] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=524]
[2024/05/06 09:47:24.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=524] ["take time"=4.27181ms] [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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.502 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.508 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.511 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.514 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.515 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035654705152, conflictStartTS=449574035654967296, conflictCommitTS=449574035655229441, 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 09:47:24.515 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035654705152, conflictStartTS=449574035654967296, conflictCommitTS=449574035655229441, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:24.515 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035654705152, conflictStartTS=449574035654967296, conflictCommitTS=449574035655229441, 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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.519 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.520 +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 09:47:24.416 +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 09:47:24.520 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.521 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288]
[2024/05/06 09:47:24.521 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.527 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.527 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.532 +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 09:47:24.416 +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 09:47:24.532 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=524] [neededSchemaVersion=525] ["start time"=40.907ยตs] [gotSchemaVersion=524] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"]
[2024/05/06 09:47:24.538 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=524] [neededSchemaVersion=526] ["start time"=509.912ยตs] [gotSchemaVersion=526] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.539 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=526]
[2024/05/06 09:47:24.551 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=526] ["take time"=14.328909ms] [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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.552 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.558 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.558 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.560 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=526] [neededSchemaVersion=527] ["start time"=468.307ยตs] [gotSchemaVersion=527] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.564 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=527]
[2024/05/06 09:47:24.569 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=527] ["take time"=7.284687ms] [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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.571 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.577 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.577 +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 09:47:24.416 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.588 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.592 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=527] [neededSchemaVersion=528] ["start time"=494.082ยตs] [gotSchemaVersion=528] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=528]
[2024/05/06 09:47:24.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=528] ["take time"=2.565351ms] [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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.597 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.603 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.603 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.605 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288]
[2024/05/06 09:47:24.606 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.614 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.618 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288]
[2024/05/06 09:47:24.618 +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 09:47:24.416 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.619 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=288]
[2024/05/06 09:47:24.619 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.619 +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 09:47:24.619 +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 09:47:24.624 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.624 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.634 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.634 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.635 +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 09:47:24.621 +0000 UTC, Err:<nil>, 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 09:47:24.635 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.637 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=528] [neededSchemaVersion=529] ["start time"=449.067ยตs] [gotSchemaVersion=529] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.639 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=529]
[2024/05/06 09:47:24.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=529] ["take time"=2.010701ms] [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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.643 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.647 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.647 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.648 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.650 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=529] [neededSchemaVersion=530] ["start time"=457.539ยตs] [gotSchemaVersion=530] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=530]
[2024/05/06 09:47:24.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=530] ["take time"=3.193111ms] [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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.654 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.660 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.660 +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 09:47:24.621 +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 09:47:24.660 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.662 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289]
[2024/05/06 09:47:24.662 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.666 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.666 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.677 +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 09:47:24.621 +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 09:47:24.677 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.681 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=530] [neededSchemaVersion=531] ["start time"=479.541ยตs] [gotSchemaVersion=531] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.684 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=531]
[2024/05/06 09:47:24.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=531] ["take time"=6.131522ms] [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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.686 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.692 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.692 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.692 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.694 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=531] [neededSchemaVersion=532] ["start time"=443.622ยตs] [gotSchemaVersion=532] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=532]
[2024/05/06 09:47:24.705 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=532] ["take time"=11.253508ms] [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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.706 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.711 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.711 +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 09:47:24.621 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.714 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.716 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=532] [neededSchemaVersion=533] ["start time"=452.193ยตs] [gotSchemaVersion=533] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.717 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=533]
[2024/05/06 09:47:24.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=533] ["take time"=3.651343ms] [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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.720 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.726 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.726 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.727 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289]
[2024/05/06 09:47:24.728 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.735 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.739 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289]
[2024/05/06 09:47:24.739 +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 09:47:24.621 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.740 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=289]
[2024/05/06 09:47:24.740 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.740 +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 09:47:24.740 +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 09:47:24.744 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.744 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.772 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.772 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.772 +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 09:47:24.742 +0000 UTC, Err:<nil>, 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 09:47:24.787 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.789 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=533] [neededSchemaVersion=534] ["start time"=469.633ยตs] [gotSchemaVersion=534] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.790 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=534]
[2024/05/06 09:47:24.791 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=534] ["take time"=2.752478ms] [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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.793 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.801 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.801 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.802 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=534] [neededSchemaVersion=535] ["start time"=468.853ยตs] [gotSchemaVersion=535] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=535]
[2024/05/06 09:47:24.824 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=535] ["take time"=19.626024ms] [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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.825 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.829 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.829 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.832 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=535] [neededSchemaVersion=536] ["start time"=908.314ยตs] [gotSchemaVersion=536] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=536]
[2024/05/06 09:47:24.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=536] ["take time"=5.352837ms] [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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.844 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.876 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.878 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.879 +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 09:47:24.742 +0000 UTC, Err:<nil>, 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 09:47:24.879 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.881 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035751174144, conflictStartTS=449574035751174145, conflictCommitTS=449574035751698432, 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 09:47:24.881 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035751174144, conflictStartTS=449574035751174145, conflictCommitTS=449574035751698432, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:24.881 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035751174144, conflictStartTS=449574035751174145, conflictCommitTS=449574035751698432, 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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.886 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.886 +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 09:47:24.742 +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 09:47:24.886 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.888 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290]
[2024/05/06 09:47:24.888 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.892 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.892 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:24.894 +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 09:47:24.742 +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 09:47:24.894 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.900 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=536] [neededSchemaVersion=538] ["start time"=510.009ยตs] [gotSchemaVersion=538] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.901 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=538]
[2024/05/06 09:47:24.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=538] ["take time"=7.820611ms] [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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.908 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.913 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.913 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:24.914 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=538] [neededSchemaVersion=539] ["start time"=501.955ยตs] [gotSchemaVersion=539] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=539]
[2024/05/06 09:47:24.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=539] ["take time"=2.049687ms] [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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.918 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.924 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.924 +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 09:47:24.742 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:24.925 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=539] [neededSchemaVersion=540] ["start time"=413.646ยตs] [gotSchemaVersion=540] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.929 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=540]
[2024/05/06 09:47:24.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=540] ["take time"=4.538453ms] [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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.932 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.938 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.939 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290]
[2024/05/06 09:47:24.940 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.944 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.946 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290]
[2024/05/06 09:47:24.947 +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 09:47:24.742 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.949 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=290]
[2024/05/06 09:47:24.949 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:24.949 +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 09:47:24.949 +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 09:47:24.968 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:24.968 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:24.978 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.978 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:24.978 +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 09:47:24.966 +0000 UTC, Err:<nil>, 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 09:47:24.983 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.987 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=540] [neededSchemaVersion=541] ["start time"=542.884ยตs] [gotSchemaVersion=541] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:24.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=541]
[2024/05/06 09:47:24.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=541] ["take time"=3.551375ms] [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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:24.991 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.000 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.000 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.006 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=541] [neededSchemaVersion=542] ["start time"=594.811ยตs] [gotSchemaVersion=542] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.016 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=542]
[2024/05/06 09:47:25.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=542] ["take time"=4.725157ms] [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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.024 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.030 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.030 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.034 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.036 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=542] [neededSchemaVersion=543] ["start time"=494.823ยตs] [gotSchemaVersion=543] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=543]
[2024/05/06 09:47:25.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=543] ["take time"=6.433597ms] [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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.043 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.049 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.049 +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 09:47:24.966 +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 09:47:25.049 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.051 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291]
[2024/05/06 09:47:25.051 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.057 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.057 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.058 +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 09:47:24.966 +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 09:47:25.058 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.060 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=543] [neededSchemaVersion=544] ["start time"=467.68ยตs] [gotSchemaVersion=544] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.062 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=544]
[2024/05/06 09:47:25.071 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=544] ["take time"=12.102029ms] [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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.073 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.079 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.079 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.080 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=544] [neededSchemaVersion=545] ["start time"=474.472ยตs] [gotSchemaVersion=545] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.085 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=545]
[2024/05/06 09:47:25.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=545] ["take time"=11.520266ms] [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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.098 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.103 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.103 +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 09:47:24.966 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.105 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.108 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=545] [neededSchemaVersion=546] ["start time"=447.808ยตs] [gotSchemaVersion=546] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.109 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=546]
[2024/05/06 09:47:25.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=546] ["take time"=2.13117ms] [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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.111 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.116 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.116 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.121 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291]
[2024/05/06 09:47:25.122 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.129 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.148 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291]
[2024/05/06 09:47:25.149 +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 09:47:24.966 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.149 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=291]
[2024/05/06 09:47:25.150 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:25.150 +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 09:47:25.150 +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 09:47:25.153 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:25.153 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:25.161 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.161 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.162 +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 09:47:25.152 +0000 UTC, Err:<nil>, 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 09:47:25.182 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=546] [neededSchemaVersion=547] ["start time"=471.66ยตs] [gotSchemaVersion=547] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.195 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=547]
[2024/05/06 09:47:25.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=547] ["take time"=2.037206ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.196 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.202 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.202 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.205 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=547] [neededSchemaVersion=548] ["start time"=472.713ยตs] [gotSchemaVersion=548] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=548]
[2024/05/06 09:47:25.208 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=548] ["take time"=2.032093ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.209 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.215 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.215 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.219 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.226 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=548] [neededSchemaVersion=549] ["start time"=477.127ยตs] [gotSchemaVersion=549] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.227 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=549]
[2024/05/06 09:47:25.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=549] ["take time"=14.637451ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.241 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.246 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.246 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.247 +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 09:47:25.152 +0000 UTC, Err:<nil>, 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 09:47:25.251 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=549] [neededSchemaVersion=550] ["start time"=508.988ยตs] [gotSchemaVersion=550] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.260 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=550]
[2024/05/06 09:47:25.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=550] ["take time"=9.432532ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.267 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.273 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.273 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.274 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.277 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=550] [neededSchemaVersion=551] ["start time"=446.715ยตs] [gotSchemaVersion=551] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.279 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=551]
[2024/05/06 09:47:25.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=551] ["take time"=6.886897ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.284 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.289 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.289 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.290 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.292 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=551] [neededSchemaVersion=552] ["start time"=475.486ยตs] [gotSchemaVersion=552] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.293 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=552]
[2024/05/06 09:47:25.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=552] ["take time"=2.030002ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.294 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.303 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.304 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.305 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.305 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.308 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=552] [neededSchemaVersion=553] ["start time"=481.487ยตs] [gotSchemaVersion=553] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:25.309 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=553]
[2024/05/06 09:47:25.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=553] ["take time"=7.789376ms] [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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.316 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.324 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.324 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.326 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=292]
[2024/05/06 09:47:25.326 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.332 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.336 +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 09:47:25.152 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=292]
[2024/05/06 09:47:25.337 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:25.337 +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 09:47:25.344 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:25.344 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:25.352 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.357 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.357 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.358 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574035875954688, conflictStartTS=449574035875954689, conflictCommitTS=449574035876478976, 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 09:47:25.358 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574035875954688, conflictStartTS=449574035875954689, conflictCommitTS=449574035876478976, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:25.358 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574035875954688, conflictStartTS=449574035875954689, conflictCommitTS=449574035876478976, 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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.372 +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 09:47:25.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.372 +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 09:47:25.339 +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 09:47:25.372 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.374 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293]
[2024/05/06 09:47:25.375 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.385 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.386 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.388 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293]
[2024/05/06 09:47:25.388 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.411 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.414 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293]
[2024/05/06 09:47:25.415 +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 09:47:25.339 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.415 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=293]
[2024/05/06 09:47:25.415 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:25.415 +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 09:47:25.416 +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 09:47:25.418 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:25.418 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:25.429 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.429 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.429 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.435 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294]
[2024/05/06 09:47:25.436 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.441 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.441 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.441 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.442 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294]
[2024/05/06 09:47:25.442 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.451 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.451 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.452 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.453 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.455 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=553] [neededSchemaVersion=554] ["start time"=472.605ยตs] [gotSchemaVersion=554] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:25.457 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=554]
[2024/05/06 09:47:25.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=554] ["take time"=7.803749ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.464 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.469 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.469 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.478 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=554] [neededSchemaVersion=555] ["start time"=1.0724ms] [gotSchemaVersion=555] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.484 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=555]
[2024/05/06 09:47:25.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=555] ["take time"=11.018029ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.492 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.497 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.497 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.498 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.500 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=555] [neededSchemaVersion=556] ["start time"=485.096ยตs] [gotSchemaVersion=556] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=556]
[2024/05/06 09:47:25.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=556] ["take time"=5.70494ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.506 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.512 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.512 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.513 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=556] [neededSchemaVersion=557] ["start time"=550.6ยตs] [gotSchemaVersion=557] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.518 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=557]
[2024/05/06 09:47:25.531 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=557] ["take time"=15.259666ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.533 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.552 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.552 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.553 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.556 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=557] [neededSchemaVersion=558] ["start time"=434.158ยตs] [gotSchemaVersion=558] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.558 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=558]
[2024/05/06 09:47:25.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=558] ["take time"=12.434184ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.569 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.575 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.575 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.576 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.578 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=558] [neededSchemaVersion=559] ["start time"=484.556ยตs] [gotSchemaVersion=559] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=559]
[2024/05/06 09:47:25.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=559] ["take time"=2.743347ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.581 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.615 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.615 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.616 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=559] [neededSchemaVersion=560] ["start time"=469.371ยตs] [gotSchemaVersion=560] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.621 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=560]
[2024/05/06 09:47:25.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=560] ["take time"=5.04762ms] [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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.626 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.633 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.634 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.646 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294]
[2024/05/06 09:47:25.646 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.651 +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 09:47:25.651 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.655 +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 09:47:25.417 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.658 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=294]
[2024/05/06 09:47:25.659 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:25.659 +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 09:47:25.662 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:25.662 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:25.672 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.672 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.673 +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 09:47:25.661 +0000 UTC, Err:<nil>, 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 09:47:25.673 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.675 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=560] [neededSchemaVersion=561] ["start time"=497.731ยตs] [gotSchemaVersion=561] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.677 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=561]
[2024/05/06 09:47:25.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=561] ["take time"=3.089141ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.680 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.689 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.689 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.691 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=561] [neededSchemaVersion=562] ["start time"=509.367ยตs] [gotSchemaVersion=562] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.695 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=562]
[2024/05/06 09:47:25.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=562] ["take time"=13.306542ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.714 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.720 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.720 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.723 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.725 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=562] [neededSchemaVersion=563] ["start time"=515.087ยตs] [gotSchemaVersion=563] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.727 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=563]
[2024/05/06 09:47:25.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=563] ["take time"=4.965678ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.732 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.736 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.736 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.737 +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 09:47:25.661 +0000 UTC, Err:<nil>, 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 09:47:25.743 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.745 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=563] [neededSchemaVersion=564] ["start time"=491.125ยตs] [gotSchemaVersion=564] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=564]
[2024/05/06 09:47:25.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=564] ["take time"=11.251188ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.757 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.762 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.762 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.762 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.770 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=564] [neededSchemaVersion=565] ["start time"=549.976ยตs] [gotSchemaVersion=565] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.771 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=565]
[2024/05/06 09:47:25.780 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=565] ["take time"=11.33365ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.788 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.794 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.794 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.795 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.797 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=565] [neededSchemaVersion=566] ["start time"=471.667ยตs] [gotSchemaVersion=566] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:25.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=566]
[2024/05/06 09:47:25.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=566] ["take time"=4.257936ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.806 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.812 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.812 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.813 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.814 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.816 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=566] [neededSchemaVersion=567] ["start time"=461.366ยตs] [gotSchemaVersion=567] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:25.818 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=567]
[2024/05/06 09:47:25.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=567] ["take time"=2.009075ms] [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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.819 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.824 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.824 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.826 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=295]
[2024/05/06 09:47:25.826 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.831 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.834 +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 09:47:25.661 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.835 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=295]
[2024/05/06 09:47:25.835 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:25.835 +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 09:47:25.838 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:25.838 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:25.856 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.856 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.856 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.861 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296]
[2024/05/06 09:47:25.861 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.867 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.867 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:25.868 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.869 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296]
[2024/05/06 09:47:25.869 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.876 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.876 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.877 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.877 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.879 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=567] [neededSchemaVersion=568] ["start time"=520.082ยตs] [gotSchemaVersion=568] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:25.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=568]
[2024/05/06 09:47:25.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=568] ["take time"=4.040658ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.883 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.890 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.890 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.891 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.895 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=568] [neededSchemaVersion=569] ["start time"=576.128ยตs] [gotSchemaVersion=569] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.896 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=569]
[2024/05/06 09:47:25.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=569] ["take time"=10.916274ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.906 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.914 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.915 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.920 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.931 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=569] [neededSchemaVersion=570] ["start time"=516.131ยตs] [gotSchemaVersion=570] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.935 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=570]
[2024/05/06 09:47:25.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=570] ["take time"=4.180877ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.936 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.958 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.958 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.968 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.979 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=570] [neededSchemaVersion=571] ["start time"=509.195ยตs] [gotSchemaVersion=571] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.981 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=571]
[2024/05/06 09:47:25.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=571] ["take time"=4.651014ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.984 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.991 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.991 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:25.993 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:25.996 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=571] [neededSchemaVersion=572] ["start time"=495.893ยตs] [gotSchemaVersion=572] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:25.997 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=572]
[2024/05/06 09:47:26.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=572] ["take time"=5.856887ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.002 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.008 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.008 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.013 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=572] [neededSchemaVersion=573] ["start time"=517.222ยตs] [gotSchemaVersion=573] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.029 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=573]
[2024/05/06 09:47:26.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=573] ["take time"=4.023548ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.031 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.039 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.039 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.040 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.043 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=573] [neededSchemaVersion=574] ["start time"=575.58ยตs] [gotSchemaVersion=574] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.044 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=574]
[2024/05/06 09:47:26.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=574] ["take time"=7.098941ms] [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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.052 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.068 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.068 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.071 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296]
[2024/05/06 09:47:26.071 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.076 +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 09:47:26.076 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.090 +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 09:47:25.837 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.092 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=296]
[2024/05/06 09:47:26.093 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:26.093 +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 09:47:26.098 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:26.098 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:26.107 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.107 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.107 +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 09:47:26.095 +0000 UTC, Err:<nil>, 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 09:47:26.108 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=574] [neededSchemaVersion=575] ["start time"=482.888ยตs] [gotSchemaVersion=575] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=575]
[2024/05/06 09:47:26.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=575] ["take time"=4.873158ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.119 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.131 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.131 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.132 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.134 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=575] [neededSchemaVersion=576] ["start time"=487.938ยตs] [gotSchemaVersion=576] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.136 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=576]
[2024/05/06 09:47:26.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=576] ["take time"=6.111323ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.141 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.191 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.191 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.192 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=576] [neededSchemaVersion=577] ["start time"=559.464ยตs] [gotSchemaVersion=577] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=577]
[2024/05/06 09:47:26.200 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=577] ["take time"=4.604785ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.201 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.210 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.210 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.210 +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 09:47:26.095 +0000 UTC, Err:<nil>, 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 09:47:26.212 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=577] [neededSchemaVersion=578] ["start time"=575.747ยตs] [gotSchemaVersion=578] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=578]
[2024/05/06 09:47:26.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=578] ["take time"=26.206869ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.243 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.255 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.255 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.260 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.263 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=578] [neededSchemaVersion=579] ["start time"=521.616ยตs] [gotSchemaVersion=579] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.265 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=579]
[2024/05/06 09:47:26.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=579] ["take time"=5.059124ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.268 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.277 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.277 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.278 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.282 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=579] [neededSchemaVersion=580] ["start time"=517.451ยตs] [gotSchemaVersion=580] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.284 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=580]
[2024/05/06 09:47:26.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=580] ["take time"=11.453807ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.297 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.314 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.314 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.315 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.315 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.329 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=580] [neededSchemaVersion=581] ["start time"=889.653ยตs] [gotSchemaVersion=581] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:26.333 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=581]
[2024/05/06 09:47:26.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=581] ["take time"=6.118979ms] [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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.339 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.345 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.345 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.371 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=297]
[2024/05/06 09:47:26.371 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.377 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.383 +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 09:47:26.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.384 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=297]
[2024/05/06 09:47:26.384 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:26.409 +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 09:47:26.412 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:26.412 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:26.424 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.424 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.424 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.427 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298]
[2024/05/06 09:47:26.427 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.434 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.439 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.450 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.461 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298]
[2024/05/06 09:47:26.462 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.468 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.469 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.469 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.470 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.472 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=581] [neededSchemaVersion=582] ["start time"=585.094ยตs] [gotSchemaVersion=582] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:26.474 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=582]
[2024/05/06 09:47:26.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=582] ["take time"=8.783258ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.482 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.488 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.488 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.494 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.501 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=582] [neededSchemaVersion=583] ["start time"=3.332953ms] [gotSchemaVersion=583] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.502 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=583]
[2024/05/06 09:47:26.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=583] ["take time"=7.47929ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.506 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.512 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.512 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.513 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.526 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=583] [neededSchemaVersion=584] ["start time"=565.406ยตs] [gotSchemaVersion=584] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.528 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=584]
[2024/05/06 09:47:26.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=584] ["take time"=4.217694ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.531 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.540 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.540 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.548 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=584] [neededSchemaVersion=585] ["start time"=549.186ยตs] [gotSchemaVersion=585] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.552 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=585]
[2024/05/06 09:47:26.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=585] ["take time"=9.163566ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.568 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.573 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.573 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.574 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.577 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=585] [neededSchemaVersion=586] ["start time"=583.622ยตs] [gotSchemaVersion=586] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.579 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=586]
[2024/05/06 09:47:26.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=586] ["take time"=4.183987ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.582 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.590 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.590 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.593 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=586] [neededSchemaVersion=587] ["start time"=548.42ยตs] [gotSchemaVersion=587] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.598 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=587]
[2024/05/06 09:47:26.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=587] ["take time"=9.75243ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.608 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.614 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.614 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.616 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=587] [neededSchemaVersion=588] ["start time"=677.976ยตs] [gotSchemaVersion=588] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:26.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=588]
[2024/05/06 09:47:26.645 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=588] ["take time"=4.050774ms] [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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.649 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.671 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.672 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.682 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298]
[2024/05/06 09:47:26.700 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.709 +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 09:47:26.711 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.723 +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 09:47:26.411 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.734 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=298]
[2024/05/06 09:47:26.734 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:26.739 +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 09:47:26.745 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:26.745 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:26.755 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.755 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.755 +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 09:47:26.743 +0000 UTC, Err:<nil>, 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 09:47:26.756 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=588] [neededSchemaVersion=589] ["start time"=626.251ยตs] [gotSchemaVersion=589] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=589]
[2024/05/06 09:47:26.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=589] ["take time"=7.19581ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.766 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.772 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.772 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.774 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.777 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=589] [neededSchemaVersion=590] ["start time"=510.264ยตs] [gotSchemaVersion=590] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.779 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=590]
[2024/05/06 09:47:26.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=590] ["take time"=11.622157ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.789 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.795 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.795 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.797 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=590] [neededSchemaVersion=591] ["start time"=491.645ยตs] [gotSchemaVersion=591] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=591]
[2024/05/06 09:47:26.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=591] ["take time"=13.796917ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.819 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.823 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.823 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.823 +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 09:47:26.743 +0000 UTC, Err:<nil>, 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 09:47:26.826 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=591] [neededSchemaVersion=592] ["start time"=551.571ยตs] [gotSchemaVersion=592] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.831 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=592]
[2024/05/06 09:47:26.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=592] ["take time"=7.481412ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.839 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.849 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.849 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.850 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.853 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=592] [neededSchemaVersion=593] ["start time"=523.442ยตs] [gotSchemaVersion=593] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.854 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=593]
[2024/05/06 09:47:26.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=593] ["take time"=4.462948ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.857 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.864 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.864 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.865 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.885 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=593] [neededSchemaVersion=594] ["start time"=542.754ยตs] [gotSchemaVersion=594] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:26.887 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=594]
[2024/05/06 09:47:26.888 +00:00] [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.030799ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.889 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.903 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.904 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.905 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.905 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.908 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=594] [neededSchemaVersion=595] ["start time"=525.505ยตs] [gotSchemaVersion=595] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:26.909 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=595]
[2024/05/06 09:47:26.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=595] ["take time"=4.417251ms] [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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.913 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.919 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.920 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.921 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=299]
[2024/05/06 09:47:26.922 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.928 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.933 +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 09:47:26.743 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.933 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=299]
[2024/05/06 09:47:26.933 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:26.934 +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 09:47:26.952 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:26.952 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:26.971 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.971 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.972 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.973 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300]
[2024/05/06 09:47:26.973 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.977 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.977 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:26.978 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.979 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300]
[2024/05/06 09:47:26.980 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.992 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.992 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.993 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:26.996 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:26.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=595] [neededSchemaVersion=596] ["start time"=549.025ยตs] [gotSchemaVersion=596] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:27.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=596]
[2024/05/06 09:47:27.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=596] ["take time"=4.670391ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.003 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.009 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.009 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.010 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=596] [neededSchemaVersion=597] ["start time"=712.846ยตs] [gotSchemaVersion=597] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=597]
[2024/05/06 09:47:27.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=597] ["take time"=4.803614ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.022 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.028 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.028 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.030 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.034 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=597] [neededSchemaVersion=598] ["start time"=559.514ยตs] [gotSchemaVersion=598] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.035 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=598]
[2024/05/06 09:47:27.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=598] ["take time"=6.126179ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.043 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.050 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.050 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.052 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=598] [neededSchemaVersion=599] ["start time"=529.693ยตs] [gotSchemaVersion=599] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.057 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=599]
[2024/05/06 09:47:27.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=599] ["take time"=4.580469ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.060 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.066 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.066 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.069 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.072 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=599] [neededSchemaVersion=600] ["start time"=491.169ยตs] [gotSchemaVersion=600] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.073 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=600]
[2024/05/06 09:47:27.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=600] ["take time"=13.979746ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.087 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.096 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.096 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.097 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.109 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=600] [neededSchemaVersion=601] ["start time"=543.826ยตs] [gotSchemaVersion=601] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.110 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=601]
[2024/05/06 09:47:27.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=601] ["take time"=5.392298ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.115 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.119 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.119 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.120 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.122 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=601] [neededSchemaVersion=602] ["start time"=490.68ยตs] [gotSchemaVersion=602] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.124 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=602]
[2024/05/06 09:47:27.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=602] ["take time"=4.513455ms] [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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.127 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.133 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.134 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.141 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300]
[2024/05/06 09:47:27.141 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.147 +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 09:47:27.147 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.152 +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 09:47:26.942 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.154 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=300]
[2024/05/06 09:47:27.154 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:27.155 +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 09:47:27.161 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:27.161 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:27.172 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.172 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.173 +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 09:47:27.156 +0000 UTC, Err:<nil>, 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 09:47:27.173 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.176 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=602] [neededSchemaVersion=603] ["start time"=517.233ยตs] [gotSchemaVersion=603] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.177 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=603]
[2024/05/06 09:47:27.180 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=603] ["take time"=4.882322ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.188 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.194 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.195 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.195 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.201 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=603] [neededSchemaVersion=604] ["start time"=520.685ยตs] [gotSchemaVersion=604] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.202 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=604]
[2024/05/06 09:47:27.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=604] ["take time"=6.28983ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.207 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.212 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.212 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.214 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=604] [neededSchemaVersion=605] ["start time"=519.873ยตs] [gotSchemaVersion=605] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=605]
[2024/05/06 09:47:27.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=605] ["take time"=11.129992ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.228 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.233 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.233 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.234 +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 09:47:27.156 +0000 UTC, Err:<nil>, 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 09:47:27.235 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.237 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=605] [neededSchemaVersion=606] ["start time"=509.406ยตs] [gotSchemaVersion=606] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=606]
[2024/05/06 09:47:27.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=606] ["take time"=4.01099ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.243 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.251 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.252 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.253 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.256 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=606] [neededSchemaVersion=607] ["start time"=520.994ยตs] [gotSchemaVersion=607] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=607]
[2024/05/06 09:47:27.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=607] ["take time"=9.702286ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.270 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.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:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.282 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=607] [neededSchemaVersion=608] ["start time"=483.134ยตs] [gotSchemaVersion=608] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=608]
[2024/05/06 09:47:27.295 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=608] ["take time"=11.304525ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.297 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.305 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.306 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.309 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.310 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=608] [neededSchemaVersion=609] ["start time"=542.347ยตs] [gotSchemaVersion=609] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:27.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=609]
[2024/05/06 09:47:27.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=609] ["take time"=4.508371ms] [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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.317 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.324 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.324 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.326 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=301]
[2024/05/06 09:47:27.327 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.332 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.336 +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 09:47:27.156 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=301]
[2024/05/06 09:47:27.337 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:27.338 +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 09:47:27.341 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:27.341 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:27.349 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.349 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.350 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.354 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302]
[2024/05/06 09:47:27.355 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.376 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.376 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.376 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.377 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302]
[2024/05/06 09:47:27.378 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.387 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.387 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.388 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.388 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=609] [neededSchemaVersion=610] ["start time"=481.555ยตs] [gotSchemaVersion=610] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:27.393 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=610]
[2024/05/06 09:47:27.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=610] ["take time"=4.011316ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.395 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.400 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.400 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.403 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=610] [neededSchemaVersion=611] ["start time"=539.815ยตs] [gotSchemaVersion=611] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=611]
[2024/05/06 09:47:27.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=611] ["take time"=4.710211ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.412 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.417 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.418 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.418 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.424 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=611] [neededSchemaVersion=612] ["start time"=513.327ยตs] [gotSchemaVersion=612] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=612]
[2024/05/06 09:47:27.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=612] ["take time"=4.239521ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.428 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.438 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.438 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.439 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.442 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=612] [neededSchemaVersion=613] ["start time"=1.111434ms] [gotSchemaVersion=613] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.444 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=613]
[2024/05/06 09:47:27.472 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=613] ["take time"=31.737144ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.481 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.481 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.481 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=613] [neededSchemaVersion=614] ["start time"=532.495ยตs] [gotSchemaVersion=614] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.486 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=614]
[2024/05/06 09:47:27.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=614] ["take time"=16.408818ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.502 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.528 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.528 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.530 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=614] [neededSchemaVersion=615] ["start time"=751.236ยตs] [gotSchemaVersion=615] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.536 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=615]
[2024/05/06 09:47:27.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=615] ["take time"=13.96713ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.549 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.556 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.556 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.557 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=615] [neededSchemaVersion=616] ["start time"=498.181ยตs] [gotSchemaVersion=616] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.564 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=616]
[2024/05/06 09:47:27.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=616] ["take time"=4.817545ms] [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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.567 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.573 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.573 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.580 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302]
[2024/05/06 09:47:27.580 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.586 +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 09:47:27.586 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.590 +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 09:47:27.339 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=302]
[2024/05/06 09:47:27.593 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:27.594 +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 09:47:27.597 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:27.597 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:27.625 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.625 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.625 +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 09:47:27.596 +0000 UTC, Err:<nil>, 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 09:47:27.633 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.643 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=616] [neededSchemaVersion=617] ["start time"=544.53ยตs] [gotSchemaVersion=617] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=617]
[2024/05/06 09:47:27.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=617] ["take time"=4.009209ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.645 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.665 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.665 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.673 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.676 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=617] [neededSchemaVersion=618] ["start time"=516.684ยตs] [gotSchemaVersion=618] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.677 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=618]
[2024/05/06 09:47:27.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=618] ["take time"=5.243372ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.682 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.688 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.688 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.688 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.691 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=618] [neededSchemaVersion=619] ["start time"=467.119ยตs] [gotSchemaVersion=619] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.692 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=619]
[2024/05/06 09:47:27.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=619] ["take time"=2.096639ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.693 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.700 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.700 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.701 +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 09:47:27.596 +0000 UTC, Err:<nil>, 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 09:47:27.703 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.705 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=619] [neededSchemaVersion=620] ["start time"=526.705ยตs] [gotSchemaVersion=620] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.707 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=620]
[2024/05/06 09:47:27.710 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=620] ["take time"=5.276169ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.711 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.716 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.716 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.717 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.719 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=620] [neededSchemaVersion=621] ["start time"=555.305ยตs] [gotSchemaVersion=621] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=621]
[2024/05/06 09:47:27.727 +00:00] [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"=9.054922ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.731 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.737 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.737 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.750 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.753 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=621] [neededSchemaVersion=622] ["start time"=514.165ยตs] [gotSchemaVersion=622] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:27.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=622]
[2024/05/06 09:47:27.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=622] ["take time"=14.385887ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.767 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.772 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.773 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.774 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.774 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.777 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=622] [neededSchemaVersion=623] ["start time"=518.088ยตs] [gotSchemaVersion=623] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:27.778 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=623]
[2024/05/06 09:47:27.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=623] ["take time"=4.880281ms] [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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.784 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.792 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.793 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.794 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=303]
[2024/05/06 09:47:27.795 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.801 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.805 +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 09:47:27.596 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.807 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=303]
[2024/05/06 09:47:27.807 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:27.808 +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 09:47:27.812 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:27.813 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:27.821 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.821 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.821 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.822 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304]
[2024/05/06 09:47:27.823 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.830 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.830 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:27.830 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.835 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304]
[2024/05/06 09:47:27.836 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.840 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.841 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.841 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.842 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=623] [neededSchemaVersion=624] ["start time"=486.31ยตs] [gotSchemaVersion=624] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:27.845 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=624]
[2024/05/06 09:47:27.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=624] ["take time"=6.772767ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.851 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.857 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.857 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.869 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.874 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=624] [neededSchemaVersion=625] ["start time"=554.436ยตs] [gotSchemaVersion=625] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.876 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=625]
[2024/05/06 09:47:27.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=625] ["take time"=4.575108ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.879 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.888 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.888 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.889 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.891 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=625] [neededSchemaVersion=626] ["start time"=513.461ยตs] [gotSchemaVersion=626] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.893 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=626]
[2024/05/06 09:47:27.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=626] ["take time"=6.424551ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.898 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.917 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.917 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.918 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=626] [neededSchemaVersion=627] ["start time"=545.941ยตs] [gotSchemaVersion=627] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=627]
[2024/05/06 09:47:27.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=627] ["take time"=4.688596ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.926 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.932 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.932 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.933 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=627] [neededSchemaVersion=628] ["start time"=493.516ยตs] [gotSchemaVersion=628] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.940 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=628]
[2024/05/06 09:47:27.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=628] ["take time"=6.644128ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.946 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.963 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.963 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.967 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=628] [neededSchemaVersion=629] ["start time"=536.517ยตs] [gotSchemaVersion=629] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.971 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=629]
[2024/05/06 09:47:27.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=629] ["take time"=5.040972ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.975 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.982 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.982 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:27.982 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.990 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=629] [neededSchemaVersion=630] ["start time"=505.433ยตs] [gotSchemaVersion=630] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:27.993 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=630]
[2024/05/06 09:47:27.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=630] ["take time"=4.106946ms] [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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:27.997 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.002 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.002 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.003 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304]
[2024/05/06 09:47:28.004 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.011 +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 09:47:28.011 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.015 +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 09:47:27.81 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.018 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=304]
[2024/05/06 09:47:28.018 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:28.018 +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 09:47:28.023 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:28.023 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:28.039 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.039 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.039 +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 09:47:28.02 +0000 UTC, Err:<nil>, 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 09:47:28.043 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.045 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=630] [neededSchemaVersion=631] ["start time"=473.463ยตs] [gotSchemaVersion=631] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.047 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=631]
[2024/05/06 09:47:28.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=631] ["take time"=6.937945ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.054 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.058 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.058 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.059 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=631] [neededSchemaVersion=632] ["start time"=520.822ยตs] [gotSchemaVersion=632] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.062 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=632]
[2024/05/06 09:47:28.063 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=632] ["take time"=2.047814ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.063 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.069 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.069 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.077 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=632] [neededSchemaVersion=633] ["start time"=574.883ยตs] [gotSchemaVersion=633] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.082 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=633]
[2024/05/06 09:47:28.084 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=633] ["take time"=5.095204ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.092 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.117 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.117 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.118 +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 09:47:28.02 +0000 UTC, Err:<nil>, 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 09:47:28.122 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.134 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=633] [neededSchemaVersion=634] ["start time"=570.51ยตs] [gotSchemaVersion=634] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.137 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=634]
[2024/05/06 09:47:28.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=634] ["take time"=13.658995ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.148 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.153 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.153 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.159 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.162 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=634] [neededSchemaVersion=635] ["start time"=544.353ยตs] [gotSchemaVersion=635] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.163 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=635]
[2024/05/06 09:47:28.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=635] ["take time"=4.141794ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.167 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.173 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.173 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.175 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.178 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=635] [neededSchemaVersion=636] ["start time"=557.993ยตs] [gotSchemaVersion=636] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=636]
[2024/05/06 09:47:28.182 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=636] ["take time"=4.493267ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.183 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.191 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.192 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.193 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.194 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=636] [neededSchemaVersion=637] ["start time"=555.163ยตs] [gotSchemaVersion=637] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:28.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=637]
[2024/05/06 09:47:28.200 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=637] ["take time"=4.442553ms] [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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.201 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.207 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.207 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.209 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=305]
[2024/05/06 09:47:28.210 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.214 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.224 +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 09:47:28.02 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.224 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=305]
[2024/05/06 09:47:28.224 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:28.225 +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 09:47:28.228 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:28.228 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:28.243 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.243 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.244 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.245 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=12581444] ["size of flushChan"=0]
[2024/05/06 09:47:28.245 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306]
[2024/05/06 09:47:28.245 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.246 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0]
[2024/05/06 09:47:28.252 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.252 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.253 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.257 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306]
[2024/05/06 09:47:28.258 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.268 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.268 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.270 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.270 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=637] [neededSchemaVersion=638] ["start time"=573.259ยตs] [gotSchemaVersion=638] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:28.278 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=638]
[2024/05/06 09:47:28.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=638] ["take time"=9.738512ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.286 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.302 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.302 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.304 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.313 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=638] [neededSchemaVersion=639] ["start time"=564.64ยตs] [gotSchemaVersion=639] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=639]
[2024/05/06 09:47:28.317 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=639] ["take time"=4.984476ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.320 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.326 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.326 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.332 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=639] [neededSchemaVersion=640] ["start time"=594.207ยตs] [gotSchemaVersion=640] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=640]
[2024/05/06 09:47:28.342 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=640] ["take time"=4.249777ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.344 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.354 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.354 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.356 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.361 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=640] [neededSchemaVersion=641] ["start time"=565.93ยตs] [gotSchemaVersion=641] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=641]
[2024/05/06 09:47:28.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=641] ["take time"=4.016081ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.365 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.370 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.370 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.371 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=641] [neededSchemaVersion=642] ["start time"=509.268ยตs] [gotSchemaVersion=642] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=642]
[2024/05/06 09:47:28.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=642] ["take time"=3.064598ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.377 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.383 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.383 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.386 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.389 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=642] [neededSchemaVersion=643] ["start time"=503.781ยตs] [gotSchemaVersion=643] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.390 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=643]
[2024/05/06 09:47:28.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=643] ["take time"=2.193673ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.391 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.397 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.397 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.400 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.404 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=643] [neededSchemaVersion=644] ["start time"=520.598ยตs] [gotSchemaVersion=644] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:28.406 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=644]
[2024/05/06 09:47:28.416 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=644] ["take time"=12.059538ms] [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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.417 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.422 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.423 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.426 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306]
[2024/05/06 09:47:28.426 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.437 +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 09:47:28.437 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.447 +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 09:47:28.227 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.452 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=306]
[2024/05/06 09:47:28.452 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:28.453 +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 09:47:28.456 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:28.456 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:28.464 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.464 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.464 +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 09:47:28.455 +0000 UTC, Err:<nil>, 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 09:47:28.465 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.467 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=644] [neededSchemaVersion=645] ["start time"=519.203ยตs] [gotSchemaVersion=645] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.469 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=645]
[2024/05/06 09:47:28.472 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=645] ["take time"=4.899945ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.473 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.479 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.479 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.482 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.487 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=645] [neededSchemaVersion=646] ["start time"=505.142ยตs] [gotSchemaVersion=646] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.488 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=646]
[2024/05/06 09:47:28.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=646] ["take time"=7.51293ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.492 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.497 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.497 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.499 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=646] [neededSchemaVersion=647] ["start time"=542.356ยตs] [gotSchemaVersion=647] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=647]
[2024/05/06 09:47:28.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=647] ["take time"=11.551472ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.521 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.529 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.529 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.530 +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 09:47:28.455 +0000 UTC, Err:<nil>, 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 09:47:28.530 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=647] [neededSchemaVersion=648] ["start time"=528.615ยตs] [gotSchemaVersion=648] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=648]
[2024/05/06 09:47:28.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=648] ["take time"=2.027058ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.535 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.540 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.540 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.542 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=648] [neededSchemaVersion=649] ["start time"=463.637ยตs] [gotSchemaVersion=649] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=649]
[2024/05/06 09:47:28.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=649] ["take time"=2.930579ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.547 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.552 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.552 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:28.555 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.560 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=649] [neededSchemaVersion=650] ["start time"=536.265ยตs] [gotSchemaVersion=650] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:28.561 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=650]
[2024/05/06 09:47:28.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=650] ["take time"=4.553718ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.564 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.571 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.571 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.575 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:28.576 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.582 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=650] [neededSchemaVersion=651] ["start time"=586.327ยตs] [gotSchemaVersion=651] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:28.584 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=651]
[2024/05/06 09:47:28.588 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=651] ["take time"=6.19508ms] [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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.589 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.593 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.593 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.594 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=307]
[2024/05/06 09:47:28.595 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.600 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.605 +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 09:47:28.455 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.606 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=307]
[2024/05/06 09:47:28.606 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:28.606 +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 09:47:28.609 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:28.609 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:28.627 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.627 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.628 +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 09:47:28.607 +0000 UTC, Err:<nil>, 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 09:47:28.628 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:28.628 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.631 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=651] [neededSchemaVersion=652] ["start time"=549.84ยตs] [gotSchemaVersion=652] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:28.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=652]
[2024/05/06 09:47:28.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=652] ["take time"=4.297309ms] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.635 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.641 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.641 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.642 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.644 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=652] [neededSchemaVersion=653] ["start time"=410.884ยตs] [gotSchemaVersion=653] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:28.645 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=653]
[2024/05/06 09:47:28.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=653] ["take time"=3.308337ms] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.648 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.655 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.655 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.655 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.658 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=653] [neededSchemaVersion=654] ["start time"=493.416ยตs] [gotSchemaVersion=654] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:28.659 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=654]
[2024/05/06 09:47:28.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=654] ["take time"=2.011413ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.660 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.665 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.665 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.666 +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 09:47:28.668 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:28.669 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.670 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.671 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.679 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.680 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.680 +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 09:47:28.681 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:28.683 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:28.683 +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 09:47:28.683 +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 09:47:28.697 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:28.697 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.698 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.699 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.705 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.705 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.706 +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 09:47:28.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 09:47:28.720 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.721 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.722 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.739 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.739 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.739 +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 09:47:28.758 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:28.758 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.759 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.759 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.765 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.765 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.766 +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 09:47:28.781 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:28.781 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.782 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.782 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.790 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.790 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.790 +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 09:47:28.904 +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"=119.167272ms]
[2024/05/06 09:47:28.904 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=308]
[2024/05/06 09:47:28.904 +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 09:47:28.914 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=352]
[2024/05/06 09:47:28.914 +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:352, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.915 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:28.915 +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:352, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.922 +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:352, ArgLen:0, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.922 +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:352, ArgLen:0, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:28.922 +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 09:47:28.924 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:29.075 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.077 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=654] [neededSchemaVersion=655] ["start time"=588.023ยตs] [gotSchemaVersion=655] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:29.079 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=655]
[2024/05/06 09:47:29.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=655] ["take time"=4.020516ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.081 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.089 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.089 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036744699904, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.090 +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 09:47:29.092 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.094 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=655] [neededSchemaVersion=656] ["start time"=571.999ยตs] [gotSchemaVersion=656] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:29.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=656]
[2024/05/06 09:47:29.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=656] ["take time"=2.131335ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.096 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.103 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.103 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.103 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff00000000001fff]
[2024/05/06 09:47:29.112 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.117 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:29.118 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.124 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.124 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.126 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f69ffff00000000001f,EndKey:74800000000000006f5f69ffff00000000001fff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:29.127 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001f] ["end key"=74800000000000006f5f69ffff00000000001fff]
[2024/05/06 09:47:29.127 +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 09:47:29.127 +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 09:47:29.190 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:29.190 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.191 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:29.191 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.197 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.198 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.228 +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"=237.926ยตs]
[2024/05/06 09:47:29.228 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=308]
[2024/05/06 09:47:29.228 +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 09:47:29.260 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:29.260 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.261 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308]
[2024/05/06 09:47:29.262 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.274 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.274 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.276 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:29.309 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:29.309 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=656] [neededSchemaVersion=657] ["start time"=417.971ยตs] [gotSchemaVersion=657] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:29.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=657]
[2024/05/06 09:47:29.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=657] ["take time"=4.291166ms] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.319 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.325 +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 09:47:29.327 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=308] [jobType="add index"]
[2024/05/06 09:47:29.327 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, 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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.331 +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 09:47:29.332 +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 09:47:28.607 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574036859256833, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.334 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=308]
[2024/05/06 09:47:29.334 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:29.335 +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 09:47:29.339 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:29.340 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:29.372 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.377 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.377 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.378 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574036929773568, conflictStartTS=449574036930035712, conflictCommitTS=449574036930297856, 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 09:47:29.378 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574036929773568, conflictStartTS=449574036930035712, conflictCommitTS=449574036930297856, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"]
[2024/05/06 09:47:29.378 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574036929773568, conflictStartTS=449574036930035712, conflictCommitTS=449574036930297856, 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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.386 +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 09:47:29.336 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.386 +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 09:47:29.336 +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 09:47:29.386 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.390 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309]
[2024/05/06 09:47:29.390 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.396 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.396 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.398 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309]
[2024/05/06 09:47:29.399 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.404 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.408 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309]
[2024/05/06 09:47:29.408 +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 09:47:29.336 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.411 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=309]
[2024/05/06 09:47:29.411 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"]
[2024/05/06 09:47:29.411 +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 09:47:29.411 +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 09:47:29.414 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:29.414 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:29.430 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.430 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.431 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.432 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310]
[2024/05/06 09:47:29.433 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.437 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.437 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.438 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.439 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310]
[2024/05/06 09:47:29.440 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.446 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.447 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.448 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.448 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.451 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=657] [neededSchemaVersion=658] ["start time"=600.741ยตs] [gotSchemaVersion=658] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:29.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=658]
[2024/05/06 09:47:29.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=658] ["take time"=7.819595ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.474 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.480 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.480 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.531 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.534 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=658] [neededSchemaVersion=659] ["start time"=645.75ยตs] [gotSchemaVersion=659] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.536 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=659]
[2024/05/06 09:47:29.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=659] ["take time"=11.100072ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.546 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.553 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.553 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.555 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.558 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=659] [neededSchemaVersion=660] ["start time"=582.95ยตs] [gotSchemaVersion=660] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.560 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=660]
[2024/05/06 09:47:29.562 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=660] ["take time"=5.194834ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.564 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.570 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.570 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.571 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=660] [neededSchemaVersion=661] ["start time"=618.096ยตs] [gotSchemaVersion=661] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.576 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=661]
[2024/05/06 09:47:29.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=661] ["take time"=4.410192ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.588 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.637 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.637 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.646 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.654 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=661] [neededSchemaVersion=662] ["start time"=547.217ยตs] [gotSchemaVersion=662] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.655 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=662]
[2024/05/06 09:47:29.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=662] ["take time"=7.30441ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.661 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.668 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.668 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.671 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.674 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=662] [neededSchemaVersion=663] ["start time"=519.173ยตs] [gotSchemaVersion=663] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.675 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=663]
[2024/05/06 09:47:29.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=663] ["take time"=5.043706ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.679 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.685 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.686 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.687 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=663] [neededSchemaVersion=664] ["start time"=494.118ยตs] [gotSchemaVersion=664] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:29.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=664]
[2024/05/06 09:47:29.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=664] ["take time"=15.104313ms] [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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.707 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.713 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.713 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.716 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310]
[2024/05/06 09:47:29.717 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.723 +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 09:47:29.724 +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 09:47:29.725 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.728 +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 09:47:29.413 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=310]
[2024/05/06 09:47:29.742 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:29.743 +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 09:47:29.753 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:29.753 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:29.774 +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 09:47:29.787 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.787 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.788 +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 09:47:29.745 +0000 UTC, Err:<nil>, 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 09:47:29.793 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=664] [neededSchemaVersion=665] ["start time"=517.027ยตs] [gotSchemaVersion=665] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=665]
[2024/05/06 09:47:29.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=665] ["take time"=8.007266ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.803 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.810 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.810 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.811 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=665] [neededSchemaVersion=666] ["start time"=459.169ยตs] [gotSchemaVersion=666] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.817 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=666]
[2024/05/06 09:47:29.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=666] ["take time"=2.053628ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.819 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.824 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.824 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.825 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.827 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=666] [neededSchemaVersion=667] ["start time"=453.263ยตs] [gotSchemaVersion=667] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.828 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=667]
[2024/05/06 09:47:29.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=667] ["take time"=2.237243ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.830 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.840 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.840 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.841 +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 09:47:29.745 +0000 UTC, Err:<nil>, 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 09:47:29.844 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.860 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=667] [neededSchemaVersion=668] ["start time"=658.958ยตs] [gotSchemaVersion=668] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=668]
[2024/05/06 09:47:29.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=668] ["take time"=4.255886ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.868 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.874 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.874 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.875 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.879 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=668] [neededSchemaVersion=669] ["start time"=627.27ยตs] [gotSchemaVersion=669] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=669]
[2024/05/06 09:47:29.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=669] ["take time"=4.223966ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.884 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.896 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.896 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:29.897 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.899 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=669] [neededSchemaVersion=670] ["start time"=560.291ยตs] [gotSchemaVersion=670] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:29.901 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=670]
[2024/05/06 09:47:29.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=670] ["take time"=4.226578ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.904 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.911 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.912 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.916 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:29.917 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.920 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=670] [neededSchemaVersion=671] ["start time"=531.074ยตs] [gotSchemaVersion=671] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:29.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=671]
[2024/05/06 09:47:29.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=671] ["take time"=4.967541ms] [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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.925 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.931 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.931 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.933 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=311]
[2024/05/06 09:47:29.934 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.942 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.947 +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 09:47:29.745 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.948 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=311]
[2024/05/06 09:47:29.948 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:29.948 +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 09:47:29.951 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:29.951 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:29.963 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.963 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.964 +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 09:47:29.95 +0000 UTC, Err:<nil>, 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 09:47:29.964 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:29.971 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.975 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=671] [neededSchemaVersion=672] ["start time"=582.098ยตs] [gotSchemaVersion=672] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:29.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=672]
[2024/05/06 09:47:29.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=672] ["take time"=6.147243ms] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.983 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.989 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.990 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.991 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:29.993 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=672] [neededSchemaVersion=673] ["start time"=593.222ยตs] [gotSchemaVersion=673] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:29.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=673]
[2024/05/06 09:47:30.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=673] ["take time"=11.70614ms] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.012 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.020 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.020 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.021 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.024 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=673] [neededSchemaVersion=674] ["start time"=617.738ยตs] [gotSchemaVersion=674] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:30.025 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=674]
[2024/05/06 09:47:30.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=674] ["take time"=9.680136ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.052 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.059 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.059 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.060 +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 09:47:30.060 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:30.063 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.065 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.066 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.074 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.075 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.075 +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 09:47:30.077 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:30.078 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:30.078 +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 09:47:30.078 +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 09:47:30.089 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:30.089 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.090 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.090 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.097 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.097 +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:0, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.098 +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 09:47:30.119 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:30.119 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.120 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.120 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.128 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.128 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.128 +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 09:47:30.140 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:30.140 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.141 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.141 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.151 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.151 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.151 +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 09:47:30.176 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:30.176 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.177 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.178 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.185 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.185 +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:0, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.186 +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 09:47:30.214 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:30.214 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.215 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.215 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.222 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.222 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.222 +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 09:47:30.277 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=480]
[2024/05/06 09:47:30.277 +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:480, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.308 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.309 +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:480, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.316 +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:480, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.316 +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:480, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.316 +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 09:47:30.343 +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"=129.574943ms]
[2024/05/06 09:47:30.344 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=312]
[2024/05/06 09:47:30.344 +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 09:47:30.344 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:30.391 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.393 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=674] [neededSchemaVersion=675] ["start time"=609.702ยตs] [gotSchemaVersion=675] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:30.395 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=675]
[2024/05/06 09:47:30.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=675] ["take time"=6.300935ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.400 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.407 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.407 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037110128640, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.407 +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 09:47:30.410 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.413 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=675] [neededSchemaVersion=676] ["start time"=718.851ยตs] [gotSchemaVersion=676] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:30.414 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=676]
[2024/05/06 09:47:30.416 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=676] ["take time"=4.356635ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.417 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.429 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.429 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.430 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000020ff]
[2024/05/06 09:47:30.437 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.439 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.439 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.451 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.451 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.456 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f69ffff000000000020,EndKey:74800000000000006f5f69ffff000000000020ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:30.458 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000020] ["end key"=74800000000000006f5f69ffff000000000020ff]
[2024/05/06 09:47:30.458 +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 09:47:30.460 +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 09:47:30.547 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:30.547 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.550 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.551 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.560 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.560 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.561 +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"=213.471ยตs]
[2024/05/06 09:47:30.561 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=312]
[2024/05/06 09:47:30.561 +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 09:47:30.563 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:30.632 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:30.632 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.635 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=676] [neededSchemaVersion=677] ["start time"=568.275ยตs] [gotSchemaVersion=677] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:30.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=677]
[2024/05/06 09:47:30.636 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=677] ["take time"=2.028156ms] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.637 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.644 +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 09:47:30.646 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="add index"]
[2024/05/06 09:47:30.646 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.656 +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 09:47:30.658 +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 09:47:29.95 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037207121920, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.661 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=312]
[2024/05/06 09:47:30.661 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:30.662 +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 09:47:30.664 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:30.664 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:30.672 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.672 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.673 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.684 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313]
[2024/05/06 09:47:30.685 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.701 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.701 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.702 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.703 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313]
[2024/05/06 09:47:30.703 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.707 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.708 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.710 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.710 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=677] [neededSchemaVersion=678] ["start time"=595.509ยตs] [gotSchemaVersion=678] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:30.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=678]
[2024/05/06 09:47:30.714 +00:00] [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"=2.054004ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.717 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.724 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.724 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.725 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=678] [neededSchemaVersion=679] ["start time"=432.318ยตs] [gotSchemaVersion=679] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.728 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=679]
[2024/05/06 09:47:30.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=679] ["take time"=2.116894ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.729 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.733 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.733 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.740 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=679] [neededSchemaVersion=680] ["start time"=543.48ยตs] [gotSchemaVersion=680] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.744 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=680]
[2024/05/06 09:47:30.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=680] ["take time"=6.678874ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.750 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.755 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.755 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.755 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=680] [neededSchemaVersion=681] ["start time"=488.391ยตs] [gotSchemaVersion=681] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.759 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=681]
[2024/05/06 09:47:30.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=681] ["take time"=2.825623ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.761 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.766 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.766 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.767 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.769 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=681] [neededSchemaVersion=682] ["start time"=531.804ยตs] [gotSchemaVersion=682] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.771 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=682]
[2024/05/06 09:47:30.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=682] ["take time"=2.049048ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.771 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.776 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.776 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.782 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=682] [neededSchemaVersion=683] ["start time"=409.416ยตs] [gotSchemaVersion=683] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.786 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=683]
[2024/05/06 09:47:30.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=683] ["take time"=4.277099ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.789 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.795 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.795 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.796 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.798 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=683] [neededSchemaVersion=684] ["start time"=489.662ยตs] [gotSchemaVersion=684] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:30.800 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=684]
[2024/05/06 09:47:30.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=684] ["take time"=11.332924ms] [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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.810 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.815 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.816 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.818 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313]
[2024/05/06 09:47:30.818 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.823 +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 09:47:30.826 +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 09:47:30.826 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.830 +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 09:47:30.663 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.832 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=313]
[2024/05/06 09:47:30.832 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:30.833 +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 09:47:30.837 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:30.837 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:30.847 +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 09:47:30.849 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.849 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.850 +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 09:47:30.834 +0000 UTC, Err:<nil>, 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 09:47:30.850 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=684] [neededSchemaVersion=685] ["start time"=360.248ยตs] [gotSchemaVersion=685] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=685]
[2024/05/06 09:47:30.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=685] ["take time"=2.90826ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.855 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.860 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.860 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.862 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.865 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=685] [neededSchemaVersion=686] ["start time"=513.645ยตs] [gotSchemaVersion=686] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=686]
[2024/05/06 09:47:30.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=686] ["take time"=2.575991ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.868 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.873 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.873 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.874 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=686] [neededSchemaVersion=687] ["start time"=753.363ยตs] [gotSchemaVersion=687] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.878 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=687]
[2024/05/06 09:47:30.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=687] ["take time"=8.565908ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.885 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.894 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.894 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.896 +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 09:47:30.834 +0000 UTC, Err:<nil>, 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 09:47:30.896 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.899 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=687] [neededSchemaVersion=688] ["start time"=557.987ยตs] [gotSchemaVersion=688] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.900 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=688]
[2024/05/06 09:47:30.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=688] ["take time"=2.211397ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.901 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.914 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.914 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.918 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.922 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=688] [neededSchemaVersion=689] ["start time"=570.744ยตs] [gotSchemaVersion=689] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.924 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=689]
[2024/05/06 09:47:30.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=689] ["take time"=22.082801ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.950 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.959 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.959 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:30.961 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=689] [neededSchemaVersion=690] ["start time"=506.612ยตs] [gotSchemaVersion=690] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:30.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=690]
[2024/05/06 09:47:30.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=690] ["take time"=4.047494ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.967 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.971 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.971 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.972 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:30.972 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.975 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=690] [neededSchemaVersion=691] ["start time"=596.843ยตs] [gotSchemaVersion=691] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:30.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=691]
[2024/05/06 09:47:30.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=691] ["take time"=2.076204ms] [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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.977 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.983 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.984 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.986 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=314]
[2024/05/06 09:47:30.987 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.994 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:30.999 +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 09:47:30.834 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.000 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=314]
[2024/05/06 09:47:31.000 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:31.000 +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 09:47:31.004 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:31.004 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:31.020 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.020 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.021 +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 09:47:31.001 +0000 UTC, Err:<nil>, 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 09:47:31.021 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:31.024 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=691] [neededSchemaVersion=692] ["start time"=544.917ยตs] [gotSchemaVersion=692] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=692]
[2024/05/06 09:47:31.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=692] ["take time"=2.766502ms] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.029 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.034 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.034 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.035 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=692] [neededSchemaVersion=693] ["start time"=535.545ยตs] [gotSchemaVersion=693] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=693]
[2024/05/06 09:47:31.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=693] ["take time"=10.152501ms] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.048 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.054 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.055 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.056 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.073 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=693] [neededSchemaVersion=694] ["start time"=551.883ยตs] [gotSchemaVersion=694] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.074 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=694]
[2024/05/06 09:47:31.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=694] ["take time"=14.529689ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.103 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.110 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.110 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.110 +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 09:47:31.111 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:31.119 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.120 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.121 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.127 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.127 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.127 +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 09:47:31.129 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:31.130 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:31.130 +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 09:47:31.130 +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 09:47:31.141 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:31.141 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.142 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.142 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.148 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.148 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.149 +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 09:47:31.165 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:31.165 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.165 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.166 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.172 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.172 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.172 +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 09:47:31.184 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:31.184 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.185 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.185 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.191 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.191 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.192 +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 09:47:31.205 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:31.205 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.206 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.206 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.213 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.213 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.213 +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 09:47:31.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 09:47:31.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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.227 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.246 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.246 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.246 +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 09:47:31.315 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=512]
[2024/05/06 09:47:31.315 +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:512, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.316 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.317 +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:512, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.322 +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:512, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.323 +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:512, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.323 +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 09:47:31.361 +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"=130.483163ms]
[2024/05/06 09:47:31.361 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=315]
[2024/05/06 09:47:31.361 +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 09:47:31.395 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1664]
[2024/05/06 09:47:31.395 +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:1664, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.396 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.396 +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:1664, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.402 +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:1664, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.402 +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:1664, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.403 +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 09:47:31.404 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:31.461 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.463 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=694] [neededSchemaVersion=695] ["start time"=516.563ยตs] [gotSchemaVersion=695] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.465 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=695]
[2024/05/06 09:47:31.467 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=695] ["take time"=4.290383ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.474 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.481 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.481 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037385379841, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.482 +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 09:47:31.484 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.486 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=695] [neededSchemaVersion=696] ["start time"=566.773ยตs] [gotSchemaVersion=696] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.488 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=696]
[2024/05/06 09:47:31.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=696] ["take time"=5.430252ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.492 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.500 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.500 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.501 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000021ff]
[2024/05/06 09:47:31.503 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.504 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.504 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.538 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.538 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.540 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f69ffff000000000021,EndKey:74800000000000006f5f69ffff000000000021ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:31.574 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000021] ["end key"=74800000000000006f5f69ffff000000000021ff]
[2024/05/06 09:47:31.574 +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 09:47:31.574 +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 09:47:31.597 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:31.597 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.598 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.599 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.620 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.620 +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:2049, ArgLen:0, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.669 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:31.669 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.669 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.670 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.674 +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"=147.375ยตs]
[2024/05/06 09:47:31.674 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=315]
[2024/05/06 09:47:31.675 +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 09:47:31.675 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.675 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.677 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:31.716 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:31.716 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=696] [neededSchemaVersion=697] ["start time"=568.818ยตs] [gotSchemaVersion=697] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:31.720 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=697]
[2024/05/06 09:47:31.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=697] ["take time"=20.332189ms] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.739 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.746 +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 09:47:31.747 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="add index"]
[2024/05/06 09:47:31.748 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, 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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.750 +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 09:47:31.751 +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 09:47:31.001 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037487878144, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.753 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=315]
[2024/05/06 09:47:31.753 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:31.754 +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 09:47:31.756 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:31.756 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:31.761 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.761 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:31.762 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.762 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316]
[2024/05/06 09:47:31.763 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.774 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.774 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:31.775 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.783 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316]
[2024/05/06 09:47:31.784 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.791 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.791 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.795 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.796 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.798 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=697] [neededSchemaVersion=698] ["start time"=635.978ยตs] [gotSchemaVersion=698] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:31.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=698]
[2024/05/06 09:47:31.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=698] ["take time"=8.402879ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.807 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.812 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.812 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.814 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=698] [neededSchemaVersion=699] ["start time"=585.8ยตs] [gotSchemaVersion=699] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:31.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=699]
[2024/05/06 09:47:31.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=699] ["take time"=39.77537ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.875 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.935 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.935 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.940 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.942 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=699] [neededSchemaVersion=700] ["start time"=868.862ยตs] [gotSchemaVersion=700] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:31.944 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=700]
[2024/05/06 09:47:31.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=700] ["take time"=4.074483ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.949 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.952 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.953 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.955 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.960 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=700] [neededSchemaVersion=701] ["start time"=527.177ยตs] [gotSchemaVersion=701] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:31.962 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=701]
[2024/05/06 09:47:31.981 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=701] ["take time"=21.282309ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.982 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.993 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.993 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:31.994 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:31.996 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=701] [neededSchemaVersion=702] ["start time"=559.089ยตs] [gotSchemaVersion=702] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:31.998 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=702]
[2024/05/06 09:47:32.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=702] ["take time"=10.618995ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.007 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.014 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.014 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:32.016 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=702] [neededSchemaVersion=703] ["start time"=532.693ยตs] [gotSchemaVersion=703] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:32.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=703]
[2024/05/06 09:47:32.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=703] ["take time"=13.280092ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.036 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.043 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.044 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:32.044 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.047 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=703] [neededSchemaVersion=704] ["start time"=524.346ยตs] [gotSchemaVersion=704] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:32.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=704]
[2024/05/06 09:47:32.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=704] ["take time"=4.950345ms] [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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.052 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.058 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.058 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.063 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316]
[2024/05/06 09:47:32.064 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.068 +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 09:47:32.071 +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 09:47:32.071 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.084 +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 09:47:31.755 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.091 +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 09:47:32.093 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=316]
[2024/05/06 09:47:32.093 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:32.093 +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 09:47:32.099 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:32.099 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:32.106 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.107 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.107 +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 09:47:32.095 +0000 UTC, Err:<nil>, 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 09:47:32.108 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=704] [neededSchemaVersion=705] ["start time"=558.764ยตs] [gotSchemaVersion=705] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.112 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=705]
[2024/05/06 09:47:32.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=705] ["take time"=13.700464ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.132 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.143 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.143 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.144 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=705] [neededSchemaVersion=706] ["start time"=527.437ยตs] [gotSchemaVersion=706] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.148 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=706]
[2024/05/06 09:47:32.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=706] ["take time"=40.02734ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.187 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.192 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.192 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.193 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.198 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=706] [neededSchemaVersion=707] ["start time"=557.498ยตs] [gotSchemaVersion=707] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.200 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=707]
[2024/05/06 09:47:32.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=707] ["take time"=5.135782ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.204 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.210 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.210 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.210 +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 09:47:32.095 +0000 UTC, Err:<nil>, 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 09:47:32.211 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=707] [neededSchemaVersion=708] ["start time"=577.057ยตs] [gotSchemaVersion=708] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=708]
[2024/05/06 09:47:32.232 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=708] ["take time"=16.004709ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.233 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.242 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.242 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.243 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=708] [neededSchemaVersion=709] ["start time"=439.284ยตs] [gotSchemaVersion=709] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=709]
[2024/05/06 09:47:32.247 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=709] ["take time"=2.554802ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.252 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.269 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.269 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:32.271 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.274 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=709] [neededSchemaVersion=710] ["start time"=565.313ยตs] [gotSchemaVersion=710] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:32.275 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=710]
[2024/05/06 09:47:32.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=710] ["take time"=12.264657ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.287 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.305 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.305 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:32.306 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:32.306 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=710] [neededSchemaVersion=711] ["start time"=572.362ยตs] [gotSchemaVersion=711] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:32.310 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=711]
[2024/05/06 09:47:32.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=711] ["take time"=3.081927ms] [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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.313 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.319 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.319 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.321 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=317]
[2024/05/06 09:47:32.322 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.327 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.331 +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 09:47:32.095 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.332 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=317]
[2024/05/06 09:47:32.332 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:32.333 +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 09:47:32.337 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:32.337 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:32.346 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.346 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.347 +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 09:47:32.334 +0000 UTC, Err:<nil>, 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 09:47:32.347 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:32.349 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.352 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=711] [neededSchemaVersion=712] ["start time"=573.572ยตs] [gotSchemaVersion=712] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:32.353 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=712]
[2024/05/06 09:47:32.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=712] ["take time"=8.477357ms] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.361 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.367 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.367 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.368 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.370 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=712] [neededSchemaVersion=713] ["start time"=579.73ยตs] [gotSchemaVersion=713] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:32.372 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=713]
[2024/05/06 09:47:32.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=713] ["take time"=20.522795ms] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.391 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.398 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.398 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.399 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=713] [neededSchemaVersion=714] ["start time"=591.512ยตs] [gotSchemaVersion=714] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:32.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=714]
[2024/05/06 09:47:32.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=714] ["take time"=4.099291ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.406 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.426 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.426 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.426 +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 09:47:32.427 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:32.443 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.444 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.445 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.451 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.451 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.451 +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 09:47:32.453 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:32.454 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:32.454 +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 09:47:32.454 +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 09:47:32.471 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:32.471 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.473 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.474 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.485 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.485 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.486 +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 09:47:32.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 09:47:32.501 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.502 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.502 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.509 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.509 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.509 +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 09:47:32.524 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:32.524 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.525 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.525 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.534 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.534 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.534 +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 09:47:32.554 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:32.554 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.555 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.555 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.563 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.563 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.563 +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 09:47:32.658 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=288]
[2024/05/06 09:47:32.658 +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:288, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.660 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.661 +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:288, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.668 +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:288, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.668 +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:288, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.668 +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 09:47:32.712 +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"=153.386688ms]
[2024/05/06 09:47:32.713 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=318]
[2024/05/06 09:47:32.713 +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 09:47:32.722 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1568]
[2024/05/06 09:47:32.722 +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:1568, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.723 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.724 +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:1568, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.730 +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:1568, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.730 +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:1568, ArgLen:0, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.731 +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 09:47:32.732 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:32.803 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.814 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=714] [neededSchemaVersion=715] ["start time"=567.138ยตs] [gotSchemaVersion=715] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:32.815 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=715]
[2024/05/06 09:47:32.826 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=715] ["take time"=12.653017ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.827 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.834 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.834 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037730361345, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.834 +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 09:47:32.835 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.839 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=715] [neededSchemaVersion=716] ["start time"=568.863ยตs] [gotSchemaVersion=716] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:32.840 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=716]
[2024/05/06 09:47:32.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=716] ["take time"=5.750232ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.843 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.850 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.850 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.851 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000022ff]
[2024/05/06 09:47:32.853 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.854 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.855 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.862 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.862 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.864 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f69ffff000000000022,EndKey:74800000000000006f5f69ffff000000000022ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:32.865 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000022] ["end key"=74800000000000006f5f69ffff000000000022ff]
[2024/05/06 09:47:32.865 +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 09:47:32.866 +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 09:47:32.959 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:32.959 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.960 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318]
[2024/05/06 09:47:32.961 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.972 +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"=143.3ยตs]
[2024/05/06 09:47:32.972 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=318]
[2024/05/06 09:47:32.972 +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 09:47:32.973 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.973 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:32.975 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:33.029 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:33.029 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.032 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=716] [neededSchemaVersion=717] ["start time"=560.913ยตs] [gotSchemaVersion=717] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.033 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=717]
[2024/05/06 09:47:33.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=717] ["take time"=4.011229ms] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.036 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.043 +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 09:47:33.044 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="add index"]
[2024/05/06 09:47:33.045 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.050 +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 09:47:32.334 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574037841772544, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.053 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=318]
[2024/05/06 09:47:33.053 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:33.053 +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 09:47:33.056 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:33.056 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:33.056 +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 09:47:33.066 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.066 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.067 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.068 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319]
[2024/05/06 09:47:33.068 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.086 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.086 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.087 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.089 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319]
[2024/05/06 09:47:33.090 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.094 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.094 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.098 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.099 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.101 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=717] [neededSchemaVersion=718] ["start time"=552.179ยตs] [gotSchemaVersion=718] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:33.103 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=718]
[2024/05/06 09:47:33.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=718] ["take time"=2.380986ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.110 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.115 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.115 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.125 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.128 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=718] [neededSchemaVersion=719] ["start time"=554.487ยตs] [gotSchemaVersion=719] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.130 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=719]
[2024/05/06 09:47:33.133 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=719] ["take time"=5.715531ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.133 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.136 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.137 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.139 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.141 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=719] [neededSchemaVersion=720] ["start time"=540.278ยตs] [gotSchemaVersion=720] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=720]
[2024/05/06 09:47:33.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=720] ["take time"=6.544799ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.148 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.179 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.179 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.191 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.197 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=720] [neededSchemaVersion=721] ["start time"=564.359ยตs] [gotSchemaVersion=721] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=721]
[2024/05/06 09:47:33.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=721] ["take time"=4.888516ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.202 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.218 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.219 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.223 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.227 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=721] [neededSchemaVersion=722] ["start time"=428.97ยตs] [gotSchemaVersion=722] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.228 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=722]
[2024/05/06 09:47:33.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=722] ["take time"=2.121627ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.231 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.237 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.237 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.238 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.242 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=722] [neededSchemaVersion=723] ["start time"=551.352ยตs] [gotSchemaVersion=723] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.243 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=723]
[2024/05/06 09:47:33.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=723] ["take time"=4.918047ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.254 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.260 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.260 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.261 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.264 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=723] [neededSchemaVersion=724] ["start time"=512.878ยตs] [gotSchemaVersion=724] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:33.265 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=724]
[2024/05/06 09:47:33.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=724] ["take time"=2.038895ms] [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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.266 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.271 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.271 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.272 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319]
[2024/05/06 09:47:33.273 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.276 +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 09:47:33.278 +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 09:47:33.278 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.281 +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 09:47:33.055 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.284 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=319]
[2024/05/06 09:47:33.284 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:33.285 +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 09:47:33.288 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:33.288 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:33.304 +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 09:47:33.306 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.306 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.306 +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 09:47:33.287 +0000 UTC, Err:<nil>, 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 09:47:33.307 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=724] [neededSchemaVersion=725] ["start time"=547.221ยตs] [gotSchemaVersion=725] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=725]
[2024/05/06 09:47:33.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=725] ["take time"=7.33257ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.317 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.321 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.321 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.322 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=725] [neededSchemaVersion=726] ["start time"=520.835ยตs] [gotSchemaVersion=726] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=726]
[2024/05/06 09:47:33.328 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=726] ["take time"=4.441478ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.331 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.336 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.336 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.339 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=726] [neededSchemaVersion=727] ["start time"=497.088ยตs] [gotSchemaVersion=727] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.351 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=727]
[2024/05/06 09:47:33.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=727] ["take time"=13.077028ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.355 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.366 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.366 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.367 +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 09:47:33.287 +0000 UTC, Err:<nil>, 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 09:47:33.367 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=727] [neededSchemaVersion=728] ["start time"=533.456ยตs] [gotSchemaVersion=728] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.376 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=728]
[2024/05/06 09:47:33.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=728] ["take time"=4.016205ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.377 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.382 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.382 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.383 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.388 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=728] [neededSchemaVersion=729] ["start time"=538.617ยตs] [gotSchemaVersion=729] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.389 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=729]
[2024/05/06 09:47:33.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=729] ["take time"=4.23416ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.392 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.400 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.400 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:33.401 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=729] [neededSchemaVersion=730] ["start time"=508.305ยตs] [gotSchemaVersion=730] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:33.405 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=730]
[2024/05/06 09:47:33.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=730] ["take time"=10.05702ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.414 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.421 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.421 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.423 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:33.423 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.431 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=730] [neededSchemaVersion=731] ["start time"=563.319ยตs] [gotSchemaVersion=731] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:33.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=731]
[2024/05/06 09:47:33.434 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=731] ["take time"=4.779453ms] [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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.435 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.441 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.442 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.443 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=320]
[2024/05/06 09:47:33.444 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.450 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.456 +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 09:47:33.287 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.458 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=320]
[2024/05/06 09:47:33.458 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:33.458 +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 09:47:33.461 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:33.461 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:33.474 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.474 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.475 +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 09:47:33.46 +0000 UTC, Err:<nil>, 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 09:47:33.475 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:33.475 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=731] [neededSchemaVersion=732] ["start time"=534.393ยตs] [gotSchemaVersion=732] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=732]
[2024/05/06 09:47:33.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=732] ["take time"=6.933198ms] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.485 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.496 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.497 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.503 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.506 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=732] [neededSchemaVersion=733] ["start time"=525.435ยตs] [gotSchemaVersion=733] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.508 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=733]
[2024/05/06 09:47:33.510 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=733] ["take time"=4.204633ms] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.513 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.519 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.519 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.522 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=733] [neededSchemaVersion=734] ["start time"=600.712ยตs] [gotSchemaVersion=734] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=734]
[2024/05/06 09:47:33.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=734] ["take time"=4.026977ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.539 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.558 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.558 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.559 +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 09:47:33.559 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:33.575 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.576 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.576 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.583 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.587 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.588 +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 09:47:33.589 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:33.590 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:33.590 +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 09:47:33.591 +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 09:47:33.601 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:33.601 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.602 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.602 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.609 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.609 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.609 +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 09:47:33.629 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:33.629 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.630 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.630 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.637 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.637 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.637 +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 09:47:33.654 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:33.654 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.655 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.656 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.662 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.662 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.663 +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 09:47:33.676 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:33.676 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.677 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.678 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.698 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.698 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.698 +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 09:47:33.762 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=416]
[2024/05/06 09:47:33.763 +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:416, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.765 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.765 +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:416, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.771 +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:416, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.771 +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:416, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.772 +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 09:47:33.792 +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"=99.057629ms]
[2024/05/06 09:47:33.792 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=321]
[2024/05/06 09:47:33.792 +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 09:47:33.823 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1824]
[2024/05/06 09:47:33.823 +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:1824, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.824 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.825 +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:1824, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.853 +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:1824, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.853 +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:1824, ArgLen:0, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.853 +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 09:47:33.856 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:33.903 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=734] [neededSchemaVersion=735] ["start time"=536.058ยตs] [gotSchemaVersion=735] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=735]
[2024/05/06 09:47:33.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=735] ["take time"=2.018804ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.908 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.915 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.915 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038027370496, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.915 +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 09:47:33.918 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.925 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=735] [neededSchemaVersion=736] ["start time"=763.396ยตs] [gotSchemaVersion=736] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:33.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=736]
[2024/05/06 09:47:33.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=736] ["take time"=10.062908ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.935 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.942 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.942 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.942 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000023ff]
[2024/05/06 09:47:33.945 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.946 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:33.946 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.959 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.959 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:33.961 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f69ffff000000000023,EndKey:74800000000000006f5f69ffff000000000023ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:33.962 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000023] ["end key"=74800000000000006f5f69ffff000000000023ff]
[2024/05/06 09:47:33.962 +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 09:47:33.962 +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 09:47:34.048 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:34.048 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.049 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321]
[2024/05/06 09:47:34.050 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.055 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.055 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.065 +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"=254.338ยตs]
[2024/05/06 09:47:34.065 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=321]
[2024/05/06 09:47:34.065 +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 09:47:34.065 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:34.120 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:34.120 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.123 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=736] [neededSchemaVersion=737] ["start time"=567.527ยตs] [gotSchemaVersion=737] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:34.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=737]
[2024/05/06 09:47:34.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=737] ["take time"=11.626904ms] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.135 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.142 +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 09:47:34.143 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="add index"]
[2024/05/06 09:47:34.143 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.151 +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 09:47:34.152 +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 09:47:33.46 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038127771649, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.163 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=321]
[2024/05/06 09:47:34.163 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:34.167 +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 09:47:34.174 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:34.174 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:34.181 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.181 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.181 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.182 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322]
[2024/05/06 09:47:34.183 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.192 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.192 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.192 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.195 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322]
[2024/05/06 09:47:34.195 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.201 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.201 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.204 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.204 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=737] [neededSchemaVersion=738] ["start time"=578.769ยตs] [gotSchemaVersion=738] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:34.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=738]
[2024/05/06 09:47:34.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=738] ["take time"=4.552194ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.211 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.224 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.225 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.227 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.237 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=738] [neededSchemaVersion=739] ["start time"=507.051ยตs] [gotSchemaVersion=739] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.239 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=739]
[2024/05/06 09:47:34.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=739] ["take time"=4.010961ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.241 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.246 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.246 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.247 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.250 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=739] [neededSchemaVersion=740] ["start time"=618.68ยตs] [gotSchemaVersion=740] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=740]
[2024/05/06 09:47:34.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=740] ["take time"=10.188262ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.260 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.266 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.266 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.267 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.270 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=740] [neededSchemaVersion=741] ["start time"=603.738ยตs] [gotSchemaVersion=741] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.273 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=741]
[2024/05/06 09:47:34.274 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=741] ["take time"=4.102966ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.275 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.281 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.281 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.282 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.285 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=741] [neededSchemaVersion=742] ["start time"=521.361ยตs] [gotSchemaVersion=742] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=742]
[2024/05/06 09:47:34.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=742] ["take time"=4.21349ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.289 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.298 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.298 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.301 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.304 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=742] [neededSchemaVersion=743] ["start time"=477.387ยตs] [gotSchemaVersion=743] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.305 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=743]
[2024/05/06 09:47:34.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=743] ["take time"=2.077ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.306 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.312 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.312 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.313 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.315 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=743] [neededSchemaVersion=744] ["start time"=479.699ยตs] [gotSchemaVersion=744] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:34.317 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=744]
[2024/05/06 09:47:34.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=744] ["take time"=4.0706ms] [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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.320 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.327 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.328 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.333 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322]
[2024/05/06 09:47:34.333 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.339 +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 09:47:34.350 +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 09:47:34.351 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.355 +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 09:47:34.169 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.369 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=322]
[2024/05/06 09:47:34.369 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:34.369 +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 09:47:34.373 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:34.373 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"]
[2024/05/06 09:47:34.382 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.382 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.383 +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 09:47:34.371 +0000 UTC, Err:<nil>, 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 09:47:34.383 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.387 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=744] [neededSchemaVersion=745] ["start time"=533.127ยตs] [gotSchemaVersion=745] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.389 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=745]
[2024/05/06 09:47:34.398 +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 09:47:34.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=745] ["take time"=15.951587ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.404 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.411 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.411 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.414 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.417 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=745] [neededSchemaVersion=746] ["start time"=532.774ยตs] [gotSchemaVersion=746] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.418 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=746]
[2024/05/06 09:47:34.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=746] ["take time"=19.789052ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.438 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.444 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.444 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.473 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.476 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=746] [neededSchemaVersion=747] ["start time"=567.309ยตs] [gotSchemaVersion=747] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.477 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=747]
[2024/05/06 09:47:34.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=747] ["take time"=5.217528ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.481 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.489 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.490 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.492 +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 09:47:34.371 +0000 UTC, Err:<nil>, 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 09:47:34.492 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=747] [neededSchemaVersion=748] ["start time"=584.299ยตs] [gotSchemaVersion=748] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.499 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=748]
[2024/05/06 09:47:34.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=748] ["take time"=6.031066ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.501 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.512 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.512 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.514 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=748] [neededSchemaVersion=749] ["start time"=884.283ยตs] [gotSchemaVersion=749] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.520 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=749]
[2024/05/06 09:47:34.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=749] ["take time"=10.133502ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.527 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.533 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.533 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:34.534 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=749] [neededSchemaVersion=750] ["start time"=511.22ยตs] [gotSchemaVersion=750] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"]
[2024/05/06 09:47:34.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=750]
[2024/05/06 09:47:34.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=750] ["take time"=4.416621ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.541 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.547 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.548 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.551 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:34.552 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.555 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=750] [neededSchemaVersion=751] ["start time"=526.493ยตs] [gotSchemaVersion=751] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:34.556 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=751]
[2024/05/06 09:47:34.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=751] ["take time"=4.045923ms] [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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.559 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.563 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.564 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.565 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=323]
[2024/05/06 09:47:34.566 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.571 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.576 +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 09:47:34.371 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.576 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=323]
[2024/05/06 09:47:34.576 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:34.576 +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 09:47:34.582 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:34.582 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"]
[2024/05/06 09:47:34.588 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.588 +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:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.588 +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 09:47:34.578 +0000 UTC, Err:<nil>, 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 09:47:34.588 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false]
[2024/05/06 09:47:34.589 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.591 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=751] [neededSchemaVersion=752] ["start time"=602.416ยตs] [gotSchemaVersion=752] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:34.592 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=752]
[2024/05/06 09:47:34.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=752] ["take time"=2.01451ms] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.593 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.606 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.607 +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:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.607 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.610 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=752] [neededSchemaVersion=753] ["start time"=547.564ยตs] [gotSchemaVersion=753] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:34.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=753]
[2024/05/06 09:47:34.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=753] ["take time"=4.407982ms] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.614 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.621 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.621 +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 only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.622 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=753] [neededSchemaVersion=754] ["start time"=533.418ยตs] [gotSchemaVersion=754] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:34.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=754]
[2024/05/06 09:47:34.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=754] ["take time"=6.448237ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.631 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.639 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.639 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.640 +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 09:47:34.641 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:34.643 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.644 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.645 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.653 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.653 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.653 +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 09:47:34.655 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:34.656 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100]
[2024/05/06 09:47:34.656 +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 09:47:34.656 +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 09:47:34.665 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:34.665 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.666 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.667 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.674 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.674 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.674 +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 09:47:34.686 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:34.686 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.687 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.687 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.693 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.694 +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:0, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.694 +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 09:47:34.709 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:34.709 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.710 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.710 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.719 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.719 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.720 +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 09:47:34.739 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:34.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:0, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.740 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.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:0, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.747 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.747 +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:0, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.748 +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 09:47:34.760 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0]
[2024/05/06 09:47:34.760 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.761 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.761 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.769 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.769 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.769 +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 09:47:34.928 +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"=170.202394ms]
[2024/05/06 09:47:34.928 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=324]
[2024/05/06 09:47:34.928 +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 09:47:34.930 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=896]
[2024/05/06 09:47:34.930 +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:896, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.934 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:34.935 +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:896, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.946 +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:896, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.946 +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:896, ArgLen:0, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:34.946 +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 09:47:34.949 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:35.114 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=754] [neededSchemaVersion=755] ["start time"=635.929ยตs] [gotSchemaVersion=755] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:35.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=755]
[2024/05/06 09:47:35.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=755] ["take time"=7.37632ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.124 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.131 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.131 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038310748160, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.132 +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 09:47:35.140 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.144 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=755] [neededSchemaVersion=756] ["start time"=614.265ยตs] [gotSchemaVersion=756] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:35.146 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=756]
[2024/05/06 09:47:35.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=756] ["take time"=4.865536ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.148 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.155 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.155 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.155 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000024ff]
[2024/05/06 09:47:35.162 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.163 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:35.164 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.175 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.175 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.189 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f69ffff000000000024,EndKey:74800000000000006f5f69ffff000000000024ff,First:false,PhysicalTableID:111,Ingest mode:false"]
[2024/05/06 09:47:35.190 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000024] ["end key"=74800000000000006f5f69ffff000000000024ff]
[2024/05/06 09:47:35.190 +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 09:47:35.191 +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 09:47:35.258 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049]
[2024/05/06 09:47:35.258 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.259 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324]
[2024/05/06 09:47:35.259 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.280 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.280 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.298 +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"=210.776ยตs]
[2024/05/06 09:47:35.298 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=324]
[2024/05/06 09:47:35.298 +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 09:47:35.298 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049]
[2024/05/06 09:47:35.432 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin]
[2024/05/06 09:47:35.432 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.436 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=756] [neededSchemaVersion=757] ["start time"=618.476ยตs] [gotSchemaVersion=757] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"]
[2024/05/06 09:47:35.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=757]
[2024/05/06 09:47:35.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=757] ["take time"=7.051295ms] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.445 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.451 +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 09:47:35.453 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=324] [jobType="add index"]
[2024/05/06 09:47:35.453 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.460 +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 09:47:35.463 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=324]
[2024/05/06 09:47:35.463 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:35.463 +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 09:47:35.466 +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 09:47:34.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:449574038445752321, 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: [delete reorganization delete only])
        	Test:       	TestCancel
        	Messages:   	use model.SchemaState as the cancel state instead
[2024/05/06 09:47:35.486 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/06 09:47:35.486 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"]
[2024/05/06 09:47:35.493 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.493 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:35.493 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.495 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325]
[2024/05/06 09:47:35.495 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.502 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.502 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"]
[2024/05/06 09:47:35.502 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.511 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325]
[2024/05/06 09:47:35.512 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.517 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.518 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.518 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.519 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.521 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=757] [neededSchemaVersion=758] ["start time"=653.445ยตs] [gotSchemaVersion=758] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"]
[2024/05/06 09:47:35.523 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=758]
[2024/05/06 09:47:35.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=758] ["take time"=7.576827ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.530 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.541 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.541 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.548 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.550 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=758] [neededSchemaVersion=759] ["start time"=386.937ยตs] [gotSchemaVersion=759] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=759]
[2024/05/06 09:47:35.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=759] ["take time"=7.214311ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.557 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.563 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.563 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.564 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.567 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=759] [neededSchemaVersion=760] ["start time"=554.207ยตs] [gotSchemaVersion=760] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.569 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=760]
[2024/05/06 09:47:35.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=760] ["take time"=25.387273ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.593 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.599 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.599 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.610 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=760] [neededSchemaVersion=761] ["start time"=535.472ยตs] [gotSchemaVersion=761] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.620 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=761]
[2024/05/06 09:47:35.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=761] ["take time"=4.415476ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.624 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.630 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.630 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.631 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.634 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=761] [neededSchemaVersion=762] ["start time"=544.4ยตs] [gotSchemaVersion=762] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=762]
[2024/05/06 09:47:35.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=762] ["take time"=18.91345ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.653 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.667 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.667 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.670 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=762] [neededSchemaVersion=763] ["start time"=1.505789ms] [gotSchemaVersion=763] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.688 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=763]
[2024/05/06 09:47:35.688 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=763] ["take time"=8.862563ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.689 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.696 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.696 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"]
[2024/05/06 09:47:35.697 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.700 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=763] [neededSchemaVersion=764] ["start time"=472.76ยตs] [gotSchemaVersion=764] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"]
[2024/05/06 09:47:35.701 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=764]
[2024/05/06 09:47:35.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=764] ["take time"=2.041094ms] [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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.706 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.710 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.711 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.712 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325]
[2024/05/06 09:47:35.713 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.718 +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 09:47:35.725 +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 09:47:35.725 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.736 +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 09:47:35.465 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/06 09:47:35.739 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=325]
[2024/05/06 09:47:35.739 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:47:35.757 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=325] [elementID=1] [startKey=74800000000000006f5f698000000000000024] [endKey=74800000000000006f5f698000000000000025]
-- Test timed out at 2024-05-06 09:51:51 UTC --
================================================================================
[12,714 / 13,031] 292 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,717 / 13,031] 292 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 61s remote-cache, linux-sandbox ... (70 actions running)
[12,718 / 13,031] 292 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 62s remote-cache, linux-sandbox ... (70 actions running)
[12,722 / 13,035] 293 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 63s remote-cache, linux-sandbox ... (70 actions running)
[12,724 / 13,035] 293 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 65s remote-cache, linux-sandbox ... (70 actions running)
[12,725 / 13,035] 293 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 66s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,730 / 13,035] 294 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 67s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,730 / 13,035] 295 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 69s remote-cache, linux-sandbox ... (70 actions running)
[12,733 / 13,035] 295 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 70s remote-cache, linux-sandbox ... (70 actions running)
[12,735 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 71s remote-cache, linux-sandbox ... (70 actions running)
[12,737 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 72s remote-cache, linux-sandbox ... (70 actions running)
[12,739 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 74s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,743 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 75s remote-cache, linux-sandbox ... (70 actions running)
[12,743 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 76s remote-cache, linux-sandbox ... (70 actions running)
[12,747 / 13,035] 297 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 12 of 12); 53s remote-cache, linux-sandbox ... (70 actions running)
[12,748 / 13,035] 297 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 12 of 12); 54s remote-cache, linux-sandbox ... (70 actions running)
[12,750 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 53s remote-cache, linux-sandbox ... (70 actions running)
[12,750 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 54s remote-cache, linux-sandbox ... (70 actions running)
[12,756 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 56s remote-cache, linux-sandbox ... (70 actions running)
[12,756 / 13,035] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 57s remote-cache, linux-sandbox ... (70 actions running)
[12,757 / 13,039] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 58s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,759 / 13,039] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,760 / 13,039] 297 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 6 of 20); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,769 / 13,039] 297 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 50s remote-cache, linux-sandbox ... (70 actions running)
[12,773 / 13,078] 297 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 52s remote-cache, linux-sandbox ... (70 actions running)
[12,776 / 13,078] 297 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 53s remote-cache, linux-sandbox ... (70 actions running)
[12,779 / 13,078] 297 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,780 / 13,078] 297 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,783 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,788 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 5 of 19); 58s remote-cache, linux-sandbox ... (70 actions running)
[12,791 / 13,078] 298 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 55s remote-cache, linux-sandbox ... (70 actions running)
[12,792 / 13,078] 298 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 56s remote-cache, linux-sandbox ... (70 actions running)
[12,793 / 13,078] 298 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 8 of 20); 57s remote-cache, linux-sandbox ... (70 actions running)
[12,797 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 56s remote-cache, linux-sandbox ... (70 actions running)
[12,797 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 57s remote-cache, linux-sandbox ... (70 actions running)
[12,799 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 58s remote-cache, linux-sandbox ... (70 actions running)
[12,806 / 13,078] 298 / 411 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 7 of 11); 52s remote-cache, linux-sandbox ... (70 actions running)
[12,809 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 7 of 11); 54s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,812 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/loaddatatest:loaddatatest_test (shard 7 of 11); 55s remote-cache, linux-sandbox ... (70 actions running)
[12,813 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 9 of 28); 55s remote-cache, linux-sandbox ... (70 actions running)
[12,818 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 9 of 28); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,822 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 11 of 28); 54s remote-cache, linux-sandbox ... (70 actions running)
[12,824 / 13,078] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 11 of 28); 55s remote-cache, linux-sandbox ... (70 actions running)
[12,826 / 13,093] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 11 of 28); 56s remote-cache, linux-sandbox ... (70 actions running)
[12,829 / 13,093] 299 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 1 of 11); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,830 / 13,093] 299 / 411 tests; Testing //pkg/executor/test/simpletest:simpletest_test (shard 1 of 11); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,832 / 13,093] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 56s remote-cache, linux-sandbox ... (70 actions running)
[12,832 / 13,093] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 57s remote-cache, linux-sandbox ... (70 actions running)
[12,840 / 13,093] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,841 / 13,093] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 60s remote-cache, linux-sandbox ... (70 actions running)
[12,847 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 61s remote-cache, linux-sandbox ... (70 actions running)
[12,847 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 62s remote-cache, linux-sandbox ... (70 actions running)
[12,849 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 63s remote-cache, linux-sandbox ... (70 actions running)
[12,850 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 64s remote-cache, linux-sandbox ... (70 actions running)
[12,854 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 65s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,858 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 67s remote-cache, linux-sandbox ... (70 actions running)
[12,861 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 68s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,861 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 70s remote-cache, linux-sandbox ... (70 actions running)
[12,862 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 71s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,863 / 13,095] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 72s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,870 / 13,095] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 74s remote-cache, linux-sandbox ... (70 actions running)
[12,872 / 13,095] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 75s remote-cache, linux-sandbox ... (70 actions running)
[12,872 / 13,095] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 76s remote-cache, linux-sandbox ... (70 actions running)
[12,873 / 13,095] 303 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 77s remote-cache, linux-sandbox ... (70 actions running)
[12,878 / 13,095] 303 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 78s remote-cache, linux-sandbox ... (70 actions running)
[12,879 / 13,095] 303 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 79s remote-cache, linux-sandbox ... (70 actions running)
[12,882 / 13,095] 303 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 81s remote-cache, linux-sandbox ... (70 actions running)
[12,886 / 13,095] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 82s remote-cache, linux-sandbox ... (70 actions running)
[12,886 / 13,095] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 84s remote-cache, linux-sandbox ... (70 actions running)
[12,892 / 13,146] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 85s remote-cache, linux-sandbox ... (70 actions running)
[12,893 / 13,146] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 86s remote-cache, linux-sandbox ... (70 actions running)
[12,895 / 13,146] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 87s remote-cache, linux-sandbox ... (70 actions running)
[12,895 / 13,146] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 88s remote-cache, linux-sandbox ... (70 actions running)
[12,895 / 13,146] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 90s remote-cache, linux-sandbox ... (70 actions running)
[12,895 / 13,146] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 91s remote-cache, linux-sandbox ... (70 actions running)
[12,900 / 13,164] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 92s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,902 / 13,191] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 93s remote-cache, linux-sandbox ... (70 actions running)
[12,906 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 94s remote-cache, linux-sandbox ... (70 actions running)
[12,907 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 95s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,908 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 97s remote-cache, linux-sandbox ... (70 actions running)
[12,909 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 99s remote-cache, linux-sandbox ... (70 actions running)
[12,910 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 100s remote-cache, linux-sandbox ... (70 actions running)
[12,912 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 101s remote-cache, linux-sandbox ... (70 actions running)
[12,913 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 102s remote-cache, linux-sandbox ... (70 actions running)
[12,914 / 13,193] 305 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 103s remote-cache, linux-sandbox ... (70 actions running)
[12,915 / 13,193] 306 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 104s remote-cache, linux-sandbox ... (70 actions running)
[12,915 / 13,193] 306 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 105s remote-cache, linux-sandbox ... (70 actions running)
[12,919 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 107s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,919 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 108s remote-cache, linux-sandbox ... (70 actions running)
[12,919 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 110s remote-cache, linux-sandbox ... (70 actions running)
[12,922 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 111s remote-cache, linux-sandbox ... (70 actions running)
[12,924 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 97s remote-cache, linux-sandbox ... (70 actions running)
[12,924 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 98s remote-cache, linux-sandbox ... (70 actions running)
[12,926 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 99s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,927 / 13,193] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 100s remote-cache, linux-sandbox ... (70 actions running)
[12,930 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 102s remote-cache, linux-sandbox ... (70 actions running)
[12,932 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 104s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,933 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 105s remote-cache, linux-sandbox ... (70 actions running)
[12,934 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 107s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,940 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 108s remote-cache, linux-sandbox ... (70 actions running)
[12,940 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 109s remote-cache, linux-sandbox ... (70 actions running)
[12,942 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 111s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,942 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 112s remote-cache, linux-sandbox ... (70 actions running)
[12,944 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 113s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,948 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 115s remote-cache, linux-sandbox ... (70 actions running)
[12,949 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 116s remote-cache, linux-sandbox ... (70 actions running)
[12,949 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 117s remote-cache, linux-sandbox ... (70 actions running)
[12,952 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 118s remote-cache, linux-sandbox ... (70 actions running)
[12,952 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 119s remote-cache, linux-sandbox ... (70 actions running)
[12,953 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 100s remote-cache, linux-sandbox ... (70 actions running)
[12,958 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 101s remote-cache, linux-sandbox ... (69 actions running)
[12,961 / 13,199] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 102s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,962 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 103s remote-cache, linux-sandbox ... (70 actions running)
[12,963 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 105s remote-cache, linux-sandbox ... (70 actions running)
[12,968 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 106s remote-cache, linux-sandbox ... (70 actions running)
[12,970 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 107s remote-cache, linux-sandbox ... (70 actions running)
[12,972 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 108s remote-cache, linux-sandbox ... (69 actions, 68 running)
[12,975 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 110s remote-cache, linux-sandbox ... (70 actions running)
[12,978 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 111s remote-cache, linux-sandbox ... (70 actions running)
[12,978 / 13,199] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 112s remote-cache, linux-sandbox ... (70 actions running)
[12,983 / 13,199] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 113s remote-cache, linux-sandbox ... (70 actions running)
[12,986 / 13,199] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 114s remote-cache, linux-sandbox ... (70 actions running)
[12,986 / 13,199] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 115s remote-cache, linux-sandbox ... (70 actions running)
[12,988 / 13,199] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 116s remote-cache, linux-sandbox ... (70 actions running)
[12,989 / 13,199] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 117s remote-cache, linux-sandbox ... (70 actions running)
[12,992 / 13,232] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 118s remote-cache, linux-sandbox ... (70 actions running)
[12,993 / 13,232] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 119s remote-cache, linux-sandbox ... (70 actions running)
[12,999 / 13,252] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 76s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,001 / 13,252] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 77s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,006 / 13,252] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 78s remote-cache, linux-sandbox ... (70 actions running)
[13,007 / 13,252] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 79s remote-cache, linux-sandbox ... (70 actions running)
[13,013 / 13,263] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 80s remote-cache, linux-sandbox ... (70 actions running)
[13,017 / 13,263] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 81s remote-cache, linux-sandbox ... (69 actions running)
[13,019 / 13,265] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 82s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,020 / 13,265] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 84s remote-cache, linux-sandbox ... (70 actions running)
[13,025 / 13,265] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 85s remote-cache, linux-sandbox ... (68 actions, 67 running)
[13,029 / 13,311] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 87s remote-cache, linux-sandbox ... (70 actions running)
[13,032 / 13,311] 312 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 88s remote-cache, linux-sandbox ... (68 actions running)
[13,039 / 13,333] 312 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 89s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,041 / 13,337] 312 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 90s remote-cache, linux-sandbox ... (70 actions running)
[13,043 / 13,337] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 91s remote-cache, linux-sandbox ... (70 actions running)
[13,043 / 13,337] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 93s remote-cache, linux-sandbox ... (70 actions running)
[13,046 / 13,361] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 94s remote-cache, linux-sandbox ... (70 actions running)
[13,050 / 13,361] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 95s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,053 / 13,361] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 97s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,054 / 13,361] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 98s remote-cache, linux-sandbox ... (70 actions running)
[13,054 / 13,361] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 99s remote-cache, linux-sandbox ... (70 actions running)
[13,055 / 13,361] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 100s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,059 / 13,367] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 101s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,067 / 13,380] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 103s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,069 / 13,413] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 104s remote-cache, linux-sandbox ... (70 actions running)
[13,072 / 13,413] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 105s remote-cache, linux-sandbox ... (70 actions running)
[13,074 / 13,421] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 106s remote-cache, linux-sandbox ... (70 actions running)
[13,076 / 13,421] 315 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 107s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,081 / 13,440] 315 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 108s remote-cache, linux-sandbox ... (70 actions running)
[13,083 / 13,440] 316 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 109s remote-cache, linux-sandbox ... (70 actions running)
[13,086 / 13,446] 316 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 110s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,089 / 13,446] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 112s remote-cache, linux-sandbox ... (70 actions running)
[13,091 / 13,446] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 113s remote-cache, linux-sandbox ... (70 actions running)
[13,094 / 13,446] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 115s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,097 / 13,446] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 116s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,102 / 13,446] 317 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 115s remote-cache, linux-sandbox ... (70 actions running)
[13,102 / 13,446] 318 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 117s remote-cache, linux-sandbox ... (70 actions running)
[13,108 / 13,446] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 118s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,109 / 13,446] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 119s remote-cache, linux-sandbox ... (70 actions running)
[13,112 / 13,446] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 121s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,114 / 13,446] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 122s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,118 / 13,495] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 123s remote-cache, linux-sandbox ... (70 actions running)
[13,121 / 13,495] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 124s remote-cache, linux-sandbox ... (70 actions running)
[13,123 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 126s remote-cache, linux-sandbox ... (70 actions running)
[13,125 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 127s remote-cache, linux-sandbox ... (70 actions running)
[13,128 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 128s remote-cache, linux-sandbox ... (70 actions running)
[13,129 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 129s remote-cache, linux-sandbox ... (70 actions running)
[13,131 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 130s remote-cache, linux-sandbox ... (70 actions running)
[13,131 / 13,546] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 131s remote-cache, linux-sandbox ... (70 actions running)
[13,135 / 13,548] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 133s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,137 / 13,548] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 134s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,143 / 13,548] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 135s remote-cache, linux-sandbox ... (70 actions running)
[13,148 / 13,548] 319 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 137s remote-cache, linux-sandbox ... (70 actions running)
[13,150 / 13,548] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 114s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,154 / 13,548] 321 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 115s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,158 / 13,548] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 117s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,162 / 13,548] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 118s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,165 / 13,548] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 119s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,165 / 13,548] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 120s remote-cache, linux-sandbox ... (70 actions running)
[13,166 / 13,548] 324 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 121s remote-cache, linux-sandbox ... (70 actions running)
[13,168 / 13,548] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 123s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,169 / 13,548] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 124s remote-cache, linux-sandbox ... (70 actions running)
[13,174 / 13,548] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 125s remote-cache, linux-sandbox ... (70 actions running)
[13,175 / 13,548] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 126s remote-cache, linux-sandbox ... (70 actions running)
[13,175 / 13,548] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 127s remote-cache, linux-sandbox ... (70 actions running)
[13,175 / 13,548] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 129s remote-cache, linux-sandbox ... (70 actions running)
[13,178 / 13,548] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 130s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,185 / 13,617] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 131s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,191 / 13,632] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 133s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,197 / 13,717] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 134s remote-cache, linux-sandbox ... (69 actions running)
[13,198 / 13,717] 327 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 135s remote-cache, linux-sandbox ... (68 actions running)
[13,199 / 13,721] 328 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 136s remote-cache, linux-sandbox ... (70 actions running)
[13,207 / 13,723] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 55s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,210 / 13,748] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,217 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 58s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,221 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,222 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,224 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 62s remote-cache, linux-sandbox ... (70 actions running)
[13,226 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 64s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,230 / 13,791] 330 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 65s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,233 / 13,791] 330 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 58s remote-cache, linux-sandbox ... (68 actions, 66 running)
[13,236 / 13,791] 330 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 59s remote-cache, linux-sandbox ... (70 actions running)
[13,236 / 13,791] 331 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 60s remote-cache, linux-sandbox ... (70 actions running)
[13,244 / 13,791] 332 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 62s remote-cache, linux-sandbox ... (70 actions running)
[13,244 / 13,791] 332 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 63s remote-cache, linux-sandbox ... (70 actions running)
[13,246 / 13,791] 332 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 64s remote-cache, linux-sandbox ... (70 actions running)
[13,255 / 13,791] 332 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 65s remote-cache, linux-sandbox ... (70 actions running)
[13,255 / 13,791] 333 / 411 tests; Testing //pkg/session/temporarytabletest:temporarytabletest_test (shard 1 of 3); 66s remote-cache, linux-sandbox ... (70 actions running)
[13,262 / 13,791] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 46s remote-cache, linux-sandbox ... (67 actions, 66 running)
[13,263 / 13,791] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 47s remote-cache, linux-sandbox ... (70 actions running)
[13,264 / 13,791] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 48s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,265 / 13,791] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,268 / 13,791] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 51s remote-cache, linux-sandbox ... (69 actions running)
[13,274 / 13,797] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,279 / 13,797] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 53s remote-cache, linux-sandbox ... (70 actions running)
[13,282 / 13,799] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,286 / 13,799] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 56s remote-cache, linux-sandbox ... (70 actions running)
[13,288 / 13,799] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 57s remote-cache, linux-sandbox ... (69 actions running)
[13,291 / 13,842] 333 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 16 of 17); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,303 / 13,842] 333 / 411 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 57s remote-cache, linux-sandbox ... (70 actions running)
[13,304 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 42s remote-cache, linux-sandbox ... (70 actions running)
[13,305 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 43s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,310 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 45s remote-cache, linux-sandbox ... (70 actions running)
[13,310 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 46s remote-cache, linux-sandbox ... (70 actions running)
[13,318 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 48s remote-cache, linux-sandbox ... (70 actions running)
[13,322 / 13,842] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 49s remote-cache, linux-sandbox ... (70 actions running)
[13,328 / 13,842] 335 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 50s remote-cache, linux-sandbox ... (70 actions running)
[13,329 / 13,842] 335 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 2 of 12); 52s remote-cache, linux-sandbox ... (70 actions running)
[13,339 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 47s remote-cache, linux-sandbox ... (70 actions running)
[13,341 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 48s remote-cache, linux-sandbox ... (70 actions running)
[13,342 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 50s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,342 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 1 of 5); 51s remote-cache, linux-sandbox ... (70 actions running)
[13,351 / 13,842] 336 / 411 tests; Testing //pkg/executor:executor_test (shard 45 of 50); 51s remote-cache, linux-sandbox ... (70 actions running)
[13,355 / 13,842] 336 / 411 tests; Testing //pkg/executor:executor_test (shard 45 of 50); 52s remote-cache, linux-sandbox ... (70 actions running)
[13,357 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 49s remote-cache, linux-sandbox ... (70 actions running)
[13,358 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 50s remote-cache, linux-sandbox ... (70 actions running)
[13,360 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 51s remote-cache, linux-sandbox ... (70 actions running)
[13,360 / 13,842] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 53s remote-cache, linux-sandbox ... (70 actions running)
[13,367 / 13,851] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 54s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,374 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 56s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,376 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 57s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,380 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 58s remote-cache, linux-sandbox ... (70 actions running)
[13,381 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 60s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,387 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 61s remote-cache, linux-sandbox ... (69 actions, 68 running)
[13,392 / 13,858] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 62s remote-cache, linux-sandbox ... (70 actions running)
Aborted by Jenkins Admin
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
[13,395 / 13,858] 336 / 411 tests; Testing //pkg/executor/test/splittest:splittest_test (shard 2 of 3); 59s remote-cache, linux-sandbox ... (69 actions, 68 running)
script returned exit code 143
[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
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
No test report files were found. Configuration error?
+ ./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: TestRenameTableAutoIDs
new flaky case: TestCancel
Output files:
bazel-flaky-summaries.log
bazel-go-test-index.log
bazel-go-test-problem-cases.json
bazel-target-output-L1788-7955.fail.log
bazel-target-output-L621-1441.fail.log
bazel-target-output-L8165-18022.timeout.log
[Pipeline] sh
++ uuidgen
+ timeout 10 curl --verbose --request POST --url http://cloudevents-server.apps.svc/events --header 'ce-id: f15953ec-2f0c-40b4-aaa7-e9a7c2d90091' --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/8943/' --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: f15953ec-2f0c-40b4-aaa7-e9a7c2d90091
> 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/8943/
> ce-specversion: 1.0
> content-type: application/json; charset=UTF-8
> Content-Length: 401
> 
} [data not shown]
* upload completely sent off: 401 out of 401 bytes

100   401    0     0  100   401      0    398  0:00:01  0:00:01 --:--:--   398< HTTP/1.1 200 OK
< Date: Mon, 06 May 2024 09:58:57 GMT
< Content-Length: 0
< 

100   401    0     0  100   401      0    346  0:00:01  0:00:01 --:--:--   346
100   401    0     0  100   401      0    346  0:00:01  0:00:01 --:--:--   346
* Connection #0 to host cloudevents-server.apps.svc left intact
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 11abf2ab-e3bc-4d84-ab04-3d2984156b28
Finished: ABORTED